Current install OS is Ubuntu 20.04.2 LTS on Lenovo z510 i7 laptop
I did a fresh install of Ubuntu 20 the upower utility shows energy_full as 47.2 Wh and the correct energy_full_design as 31.7 Wh.
The battery dosen't appear to be behaving any worse than originally in terms of discharge rate of time to discharge under normal use but the charge indicator reports an incorrect value and I hope it dosen't keep charging the battery past it energy (design) capacity.
This issue also is reported in the links below and here energy_full is almost an order of magnitude higher than energy (design):
https://gitlab.freedesktop.org/upower/upower/-/issues/136
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1904793/comments/2
I previously had ubuntu 16.04 LTS installed on my Lenovo z510 i7 laptop for over 5 years. The battery indication always showed 100% when the battery capacity (correct) was full at 31.7 Wh. The laptop runs to about 60% and then shows 0% and critical low battery indication (red). Reinstalling different versions of ubuntu 16 now displays this same error for energy_full.
Can I manually edit /sys/class/power_supply/BAT0/energy_full to have the correct value? If so, how do I (as root) edit the locked file energy_full?
Does upowerd check these variables to see if they make sense?
I love ubuntu but am ignorant of how to use or modify the system.
Thanks in advance for any suggestions/help... VN