-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Battery segment showing wrong percentange on MacOS #2139
Comments
Wow, that was quick! The percentage issue is now fixed. One small thing I found (I don't if its a bug or intended behavior), when the macOS holds the laptop charging at X% (and doesn't charge to 100% to save up battery cycles) the discharge icon and background color show up even though the laptop is not discharging the battery.
|
@hferreira23 I treat that as discharging, but we can easily map that to something else as maybe not charging? |
@JanDeDobbeleer in this specific case the battery is neither charging or discharging so a separate state would be nice. |
@hferreira23 the |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. |
Code of Conduct
What happened?
I'm using the oh-my-posh on macOS Big Sur (Intel CPU) and the battery segment is reporting the wrong percentage.
pmset -g batt
reports 96% and the segment reports 91%Theme
Modified Bubblesline
What OS are you seeing the problem on?
macOS
Which shell are you using?
No response
Log output
The text was updated successfully, but these errors were encountered: