Checking for Power Saver Mode programmatically

前端 未结 5 684
旧时难觅i
旧时难觅i 2020-12-01 21:44

I have written an app (AutoWifiSwitch) and one of the features I plan to add is automatically disabling the wifi scanning service in my app if power saving mode is enabled.<

5条回答
  •  长情又很酷
    2020-12-01 22:15

    "power saving mode" is not an official AOSP feature and there are no ways to detect it via official SDK. it is manufacturer specific. check this link

提交回复
热议问题