如何以编程方式检测SONY - 耐力设备能量分布为ON [英] How to programmatically detect SONY - Stamina device energy profile is ON

查看:117
本文介绍了如何以编程方式检测SONY - 耐力设备能量分布为ON的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要通知用户,我的应用程序将无法正常工作,如果他有SONY的android手机与STAMINE能量分布开。此配置文件阻止AlarmManager和设备没有唤醒时,我想要的。

I want to notify user that my app will not work properly if he has SONY android phone with STAMINE energy profile ON. This profile is blocking AlarmManager and device is not waked up when I want.

推荐答案

目前,还有如果选择耐力能源状况来检测没有正式的办法。但是,如果有足够的社区的需求,我们可以是能够打开该上

Currently, there is no official way to detect if the STAMINA energy profile is selected. However, if there is enough community demand we may be able to open this up.

这篇关于如何以编程方式检测SONY - 耐力设备能量分布为ON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆