Skip to content

simbatt: Clear BATTERY_CAPACITY_RELATIVE field for per-battery charge display - #1063

Merged
tristanb-ntdev merged 1 commit into
microsoft:developfrom
forderud:simbatt-relative-rm
Oct 9, 2025
Merged

simbatt: Clear BATTERY_CAPACITY_RELATIVE field for per-battery charge display#1063
tristanb-ntdev merged 1 commit into
microsoft:developfrom
forderud:simbatt-relative-rm

Conversation

@forderud

@forderud Fredrik Orderud (forderud) commented Dec 7, 2023

Copy link
Copy Markdown
Contributor

Clear BATTERY_INFORMATION::BATTERY_CAPACITY_RELATIVE field to enable per-battery charge display in Windows Settings when simulating multi-battery setups.

Motivating example

Example of simulated multi-battery setup prior to this PR:
image
As you can see, the individual batteries report 0% despite being fully charged. The aggregated 100% charge is however correct.

Corresponding example after clearing the BATTERY_CAPACITY_RELATIVE field:
image
As you can see, the individual batteries now correctly report 100%.

Testing instructions

Steps:

@forderud

Copy link
Copy Markdown
Contributor Author

Gentle reminder.

@JakobL-MSFT
JakobL-MSFT deleted the branch microsoft:develop May 22, 2024 16:08
@forderud

Copy link
Copy Markdown
Contributor Author

JakobL-MSFT Would it be possible to get some kind of explanation for why this PR was closed instead of being considered for merging?

@JakobL-MSFT

Copy link
Copy Markdown
Contributor

I closed this PR unintentionally. I apologize. I am reopening the PR.

Clear BATTERY_INFORMATION::BATTERY_CAPACITY_RELATIVE field to enable per-battery charge display in Windows Settings.
@tristanb-ntdev
tristanb-ntdev merged commit ed3dbe5 into microsoft:develop Oct 9, 2025
@forderud
Fredrik Orderud (forderud) deleted the simbatt-relative-rm branch October 9, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants