电池电量不足。充电电流不够...是否有意向显示此消息之前? [英] Battery is low. Charging current not enough...Is there intent before this message is shown?

查看:381
本文介绍了电池电量不足。充电电流不够...是否有意向显示此消息之前?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的设备上的消息,和它说以下内容:

I have message on my device, and it says the following:

电池电量不足。充电电流不够的设备电源
  消费。请切换到AC适配器。

Battery is low. Charging current not enough for device power consumption. Please switch to AC adapter.

有此消息之前发射的任何意图显示?

Is there any intent fired before this message is shown?

和他们是如何计算是否会被显示或不显示这个消息?

And how do they calculate if this message will be shown or not?

和我不明白的事情是电源怎么不够?

And the thing I do not understand is how the power supply is not enough?

有如此怪异 - 我的手机在我的电脑中,而是被插入充电时,电池变空

It is so weird -- my phone is plugged in to my PC, and instead of being charged, the battery goes empty

注意:该消息仅示出在该设备被插入到PC的USB端口的情况下

NOTE: The message is shown only in the case where the device is plugged in to a USB port of the PC.

我有一年的HTC渴望,从来没有显示此消息;但现在的感觉出现​​此消息非常频繁。

I had an htc desire for a year, and this message was never shown; but now with the sensation this message occurs very often.

有谁知道我怎么能抓住这个意图 - 如果它是在所有发射

Does anyone know how can I catch this intent -- if it is fired at all?

推荐答案

据我知道有没有明确的intent.You可以尝试,并侦听粘的 BATTERY_CHANGED 广播意图。这应该包含来自的 BATTERY_PLUGGED_USB 信息=htt​​p://developer.android.com/reference/android/os/BatteryManager.html相对= nofollow的> BatteryManager ,可能结合 BATTERY_STATUS_DISCHARGING

As far as I know there is no explicit intent.You can try and listen for the sticky BATTERY_CHANGED broadcast intent. This should contain at least the BATTERY_PLUGGED_USB info from the BatteryManager, probably in combination with BATTERY_STATUS_DISCHARGING.

这是因为计算机的USB端口具​​有有限的电流,为USB 2.0端口,其无论是500毫安(高功率)或100 MA(低power¹)。那是不够的,设备功率和大屏幕和沿等硬件像样的CPU(例如GPS昂贵currentwise)。
正常的,专用的充电器通常会提供约1000 MA(1A)。

This happens because the usb-ports of a computer have a limited current, for USB 2.0 ports its either 500 mA (Hi-power) or 100 mA (low-power¹). Thats not enough to power a device with a big screen and a decent cpu along other hardware (e.g. GPS is expensive currentwise). The normal, dedicated chargers usually provide around 1000 mA (1A).

这与发生的感觉更经常的(它与我的愿望也有时会发生)的,因为它有(欲望的4.3与3.7),更大的屏幕和更快的CPU。该屏幕也是一个LCD,一些欲望机型有一个OLED显示屏,而不是(也许你有其中之一)。这种OLED排水方式较少的电池,同时显示暗青色的内容。如果你得到了很多的白/红朝,而不是内容,屏幕消耗更少(当然比较类似大小时) - 所以这也可能是一个因素。

This occurs with the sensation more often (it happens with my desire also sometimes) since it has a bigger screen (4.3" vs 3.7" of the desire) and a faster CPU. The screen is also a LCD, some of the Desire models have an OLED display instead (maybe you got one of these). This OLED drains way less battery while displaying dark, blueish content. If you got a lot of white/towards red content instead, the LCD consumes less (when comparing similar sizes of course) - so this might also be a factor.

您可以尝试通过关闭屏幕和设备发送到待机几分钟,以避免此消息。这至少应该有点充电,因为功耗较小的方式。

You can try to avoid this message by turning off the screen and sending the device to standby for a few minutes. This should charge it at least a bit, since the power consumption is way smaller.

¹的低功耗:这就是当你有你在一个USB集线器设备,没有它自己的专用电源的情况下

这篇关于电池电量不足。充电电流不够...是否有意向显示此消息之前?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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