Which FSO interface is best to get battery state

Michael 'Mickey' Lauer mickey at vanille-media.de
Mon Jan 25 00:37:45 CET 2010

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".



More information about the community mailing list