Ultimately this is a driver problem that causes upower to always report 0 for the percent charge remaining. If a driver is going to export energy_full or charge_full then it ought to also export fields for current energy and charge.
upower could be more robust in this regard however. I'm attaching a patch for upower to prevent this problem from happening when drivers supply incomplete informaton.
Ultimately this is a driver problem that causes upower to always report 0 for the percent charge remaining. If a driver is going to export energy_full or charge_full then it ought to also export fields for current energy and charge.
upower could be more robust in this regard however. I'm attaching a patch for upower to prevent this problem from happening when drivers supply incomplete informaton.