Closed damonallison closed 5 years ago
I am seeing a 5% discrepancy on my mac as well. I think this issue might make more sense as an open distatus/battery issue rather than a gotop issue since we know gotop's battery percentage comes directly from the battery
pkg.
I agree. gotop
is using the right values from battery
. I'm going to close this issue, look into battery
, and will file a ticket there as appropriate.
The battery percentage shown in
gotop
differs from what macOS shows in the menu bar.It does match the underlying
distatus/battery
value (bat.Current/bat.Full*100,
) correctly. I'm not sure if there are any other options that would mimic the menu bar consistently (or if you'd even want to do that - the values fromdistatus/battery
are more accurate).Perhaps all that is needed is a comment in the documentation stating the difference.
Thanks for all your work w/
gotop
!