Am Sonntag, den 24.01.2010, 23:29 +0100 schrieb Christian Rüb: > So I need to use both - Get Capacity and GetPowerStatus - to make sure I do > not release a resource just because capacity is low as the device might be > charging?
Exactly. In your case, GetCapacity should only be evaluated, if PowerStatus is "discharging". Cheers, -- :M: _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community