I’ve found that gnome often displays a low charge level (7-8%) on my laptop even though the battery seems to be fully charged (the charging light appears green rather than orange).
Here’s what the Gnome battery display looks like:
Computer is a late 2013 MacBook Air; battery is a replacement battery manufactured by ifixit.
Charge levels in /sys/class/power_supply/BAT0 reflect a fully charged battery:
[jhaiduce@picard ~]$ cat /sys/class/power_supply/BAT0/charge_now 5062000 [jhaiduce@picard ~]$ $ cat /sys/class/power_supply/BAT0/charge_full 5071000
Also, when I disconnect the battery Gnome warns “Battery low; approximately 3 hours 48 minutes remaining (8%)” (the reported time remaining varies, but it tends to reflect the actual charge level rather than the supposed low battery condition):
If I continue using the computer on battery power, Gnome forces a shutdown once the charge displayed charge level gets down to 1% or so, even though in reality a significant amount of charge remains on the battery.
The problem goes away when the system is rebooted, but recurs after a few hours of use following each reboot.
I’m fairly convinced this is a bug, but not sure whether it should be filed against gnome-shell or some other component, and also wondering if there is more information I can provide to help others reproduce this.