Skip to content

Fix battery status logic for CHARGING and PENDING_CHARGE states#13687

Open
Konstantin-The-Goose wants to merge 1 commit intolinuxmint:masterfrom
Konstantin-The-Goose:patch-1
Open

Fix battery status logic for CHARGING and PENDING_CHARGE states#13687
Konstantin-The-Goose wants to merge 1 commit intolinuxmint:masterfrom
Konstantin-The-Goose:patch-1

Conversation

@Konstantin-The-Goose
Copy link
Copy Markdown

@Konstantin-The-Goose Konstantin-The-Goose commented Apr 3, 2026

Fixed issue #13686

Previously, PENDING_CHARGE was unreachable due to duplicated condition checks. This separates the logic so both states are handled correctly (i hope).

Fix battery status logic for CHARGING and PENDING_CHARGE states

Previously, PENDING_CHARGE was unreachable due to duplicated condition checks.
This separates the logic so both states are handled correctly (i hope).
@leigh123linux
Copy link
Copy Markdown
Member

leigh123linux commented Apr 3, 2026

The commit title sucks, please fix.
Add Fixed issue #13686 to the commit message instead.

@Konstantin-The-Goose Konstantin-The-Goose changed the title Fixed issue #13686 Fix battery status logic for CHARGING and PENDING_CHARGE states Apr 3, 2026
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.

2 participants