aleksilassila / uebersicht-fetch

Shows stats such as system, network and weather information on your desktop. Requires Übersicht.
12 stars 3 forks source link

Bug: Battery grep method displays incorrect "remaining" time in Monterey beta. #6

Open corbin-r opened 3 years ago

corbin-r commented 3 years ago

Issue: Battery remaining time cuts off first digit of time if time remaining >= 10:00 (see images attached) Currently unknown what causes this as running pmset -g batt in Terminal does indeed show the correct time. I noticed this after updating to macOS Monterey so it's definitely something to do with this.

Terminal output with time remaining >= 10:00:

╭─cr@cr-mba ~ 
╰─$ pmset -g batt
Now drawing from 'Battery Power'
 -InternalBattery-0 (id=20643939)   82%; discharging; 10:21 remaining present: true

Image of issue: Screen Shot 2021-08-19 at 20 23 38

corbin-r commented 3 years ago

Also yes the GPU output is also wrong in macOS Monterey (21A5304g), separate issue though.