Score:0

Why is energy_full is greater than energy_design in ubuntu 20.04.2 LTS

in flag

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

guiverc avatar
cn flag
Ubuntu Core 20 (or any release using the *year* format which are *snap* only) is a different product to products that use the *year.month* format (eg. Ubuntu 20.04 LTS) as they are *deb* based. Please be specific with your system as LTS is only used with *year.month* products which don't use the format you suggested (*year* releases have a longer life not split into LTS & ESM; ie. 10 years is normal for a Ubuntu Core 16 install).
guiverc avatar
cn flag
[Ubuntu 16.04 LTS has reached the end of it's *standard* support life](https://fridge.ubuntu.com/2021/03/13/extended-security-maintenance-for-ubuntu-16-04-xenial-xerus-begins-april-30-2021/) thus is now off-topic here unless your question is specific to helping you move to a supported release of Ubuntu. Ubuntu 16.04 ESM support is available, but not on-topic here, see https://askubuntu.com/help/on-topic See also https://ubuntu.com/blog/ubuntu-16-04-lts-transitions-to-extended-security-maintenance-esm
guiverc avatar
cn flag
My guess is your battery has aged & thus the lower power capacity of the cells.... also with your re-installation of 16.04 (I'm guessing, given you specify Ubuntu 16 which doesn't exist) you likely installed it using a different stack; my guess is a later HWE stack where originally you used the GA stack..) thus the different readings... I'd suspect the HWE stack is giving more accurate results, even though you may prefer those provided by the prior GA stack - but you're off-topic here.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.