Comment 1 for bug 1209285

Revision history for this message
Seth Forshee (sforshee) wrote : Re: powerd shuts down devices which do not have full power info

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.