OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: boosalis on April 14, 2004, 07:17:28 pm
-
Is there a QCopenvelope class for capturing power notifications on the 5600.
I\'d like to know if the unit is being powered by the adapter and to be notified if the adapter is unplugged (plugged).
I know I can check the /proc/apm file but if I can get around writting my own polling of this file that would be great.
My application starts the network, and if the unit is plugged in then I want to keep the network on, otherwise I want to only keep it on for a certain amount of time.
Thank you.
-
No qcopenvelope, but see the PowerStatus class in libqpe.
-
Thank you for the PowerStatus class information. I\'ll look it over
-David