Is there a way i could know whether the system is in power saving mode when :
I have noticed that the power saver mode kills my services, and my activity is dependent on the services.
Also my application uses wake lock
permission.
Is there a way to know the mode is on/off so that I can reduce/limit the activities.
Thanks in advance!
(省电模式)不是AOSP的正式功能,因此无法使用官方android SDK进行检测。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.