On 12 October 2010 13:42, Michal Schmidt <mschm...@redhat.com> wrote:
> A fix could be to remove all the guesswork in step 3. But the heuristics may 
> be
> useful in other cases.

If you're discharging on a UPS, you're also "on-battery" -- no?

Maybe we can just ignore batteries in unknown state in
up_daemon_get_on_battery_local()?

Richard.
_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to