On Sat, Oct 23, 2010 at 12:19:13AM +0200, Rafael J. Wysocki wrote:
The latest patch seems to fix/workaround the problem. upower now reports
0 as the energy rate, there are no warnings in dmesg and battery hotplug
works. Looks good and there's the option for a future upower to
interpret the missing sysfs as meaning "unknown".
Tested-by: Sitsofe Wheeler <sitsofe@yahoo.com>
wron -> wrong?
OK that's sneaky and clever - technically power_supply_uevent should be
more robust but presumably things are already prepared to handle -ENODEV
so overloading the meaning leads to the smallest change.
--
Sitsofe | http://sucs.org/~sits/
--