J
Jon Skeet [C# MVP]
Does anyone know of any way of detecting whether a device has mains
power or not? I can see power state changes, but can't tell from them
whether the device is connected to a decent power supply.
(We'd like our app to keep trying to download updates if it's on mains
power, but not otherwise.)
power or not? I can see power state changes, but can't tell from them
whether the device is connected to a decent power supply.
(We'd like our app to keep trying to download updates if it's on mains
power, but not otherwise.)