Skip to content

Fix battery status logic for CHARGING and PENDING_CHARGE states#13742

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

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

Conversation

@Konstantin-The-Goose
Copy link
Copy Markdown

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).

Fixed issue linuxmint#13686

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

fredcw commented May 1, 2026

Is this a typo, you've got two else if conditions the same.

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