Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
清单中有什么权限可以将应用程序放入省电的android中。当用户打开省电模式并尝试将我的应用程序添加到可以在此模式下运行的应用程序列表中时。它尝试了这个权限并且没有改变
<uses-permission android:name="android.permission.WAKE_LOCK" />
检查此链接对您有用,
http://stackoverflow.com/questions/18609978/power-saving-mode-in-android-controlled-programatically
http://stackoverflow.com/questions/15133392/find-out-if-power-saving-mode-enabled-android-sdk