Page 1 of 1

Please describe System powersaving_switch ?

Posted: 16 Oct 2015 07:27
by autobear
Dear ALL,

Automagic is a great program and I bought it.

I would like to know how did you extract the power saving status using System powersaving_switch ?

Did you use android.os.PowerManager.WakeLock or what ?

Thank You

Re: Please describe System powersaving_switch ?

Posted: 16 Oct 2015 19:50
by Martin
Hi,

Automagic uses the official API to check this:
http://developer.android.com/reference/ ... SaveMode()

Regards,
Martin

Re: Please describe System powersaving_switch ?

Posted: 17 Oct 2015 08:55
by autobear
Thank you Martin :D