12-02-2013 02:56 PM
Hi everyone, I just wanted to create notification for the low battery. I know how to create the notification and ring the battery alarm but not sure how that can invoked when the battery level goes below a threshold value.
All examples that I see over Internet is about creating the notification when some button is pressed. How to create the low battery alarm is what I'm looking for. Can anyone provide a sample code or link to do the same ?
Solved! Go to Solution.
12-03-2013 10:16 AM
Hi. You need to look at this to get all the details of the Battery of the Device
Then look at the signals section. I hope this helps
12-04-2013 12:00 AM
12-04-2013 06:51 AM
The easiest way to to it would be to declare is as a QML type and then attach it as an object in your QML, details on how to do that can be found here...
12-04-2013 07:08 AM
Yes, did it. Just posting in case someone needs it.
Thanks everyone for assistance.