Since February 2010, the ThinkPad Battery has used a new identifier to use a simplified Digital ID label on the battery.
The following figure:
The ThinkPad Battery after February 2010
The ThinkPad battery from February 2010 ago
For example, the ThinkPad SL410 us
status
In general, if you keep monitoring the battery status, it may have a great impact on the battery itself, or even exceed the influence of the program itself, which is a little worth the candle, therefore, it is necessary to monitor only major changes in the battery status, such as when the device enters a low battery
Keywords: Android battery meter pl2301 task initialization macro Power_Supply interrupt thread
Platform information:Kernel: linux2.6/linux3.0System: Android/android4.0Platform: Samsung exynos 4210, exynos 4412, and exynos 5250
Author: xubin341719 (You are welcome to reprint it. Please note the author)
Correct the mistakes and learn and make progress together !!
D
Android battery changes and android battery changes
Problem:1. Power jump to 50%2. Battery ID pin grounding3. temperature pin to determine whether the battery is in place
Speculative reason:How to determine the
1. OverviewWith the rapid display of mobile smart devices, battery life in a very large case induced the choice of mass consumers, Android system power management is reasonable or not directly affect the battery life, and battery system as part of it, mainly for battery stat
1. OverviewWith the rapid display of mobile smart devices, battery life in a very large case induced the choice of mass consumers, Android system Power Management is reasonable or not directly affect the battery life, and battery system as part of it, Mainly used for monitoring the
Original: http://www.2cto.com/kf/201408/326462.html 1, overviewWith the rapid display of mobile smart devices, battery life in a very large case induced the choice of mass consumers, Android system power management is reasonable or not directly affect the battery life, and battery system as part of it, mainly for
Android Battery Management System1. Overview
With the rapid development of mobile smart devices, the battery endurance has greatly induced the purchase choices of consumers, the rationality of the Power Management in the android system directly affects the battery endurance,
This article illustrates the Android implementation of a dynamic display of battery status, power and charge, and is a very common feature in the development of Android applications. Share for everyone to use for reference. The specific methods are as follows:
Use the battery on the
I. OverviewThe driver for the battery portion of the Android system inherits the power supply driver architecture from the traditional Linux system, and the battery driver generates the appropriate SYS file system via the power supply driver. This provides the interface to the user space for various properties of the battery
update frequency, or simply stop data updates.Obtain the current Battery status
Batterymanager sends "Sticky" system broadcast, including the current Battery status and charging status in intent.
Because the broadcast type of the battery status is "Sticky", we do not need to register the corresponding broadcastreceiver. You only need to pass the null parameter w
Android Battery status monitoring
If you want to monitor changes in the battery status, you need to dynamically register: android. intent. action. BATTERY_CHANGED: After receiving the Action, you can obtain the information you need based on the corresponding Key. For more information, see the BatteryChangedReceiver cla
BatteryManager.BATTERY_HEALTH_OVERHEAT:System.out.println ("battery_health_overheat");
Break
Case BatteryManager.BATTERY_HEALTH_OVER_VOLTAGE:System.out.println ("Battery_health_cold");
Break Case Batterymanager.battery_health_unknowN:system.out.println ("Battery_health_unknown");
Break Case BatteryManager.BATTERY_HEALTH_UNSPECIFIED_FAILURE:System.out.println ("Battery_health_unspecified_failure")
;
Break
Default:break;
}//battery current power, which
BatteryManager.BATTERY_HEALTH_OVER_VOLTAGE:System.out.println ("Battery_ Health_cold "); Break;case BatteryManager.BATTERY_HEALTH_UNKNOWN:System.out.println (" Battery_health_unknown "); Break;case BattEryManager.BATTERY_HEALTH_UNSPECIFIED_FAILURE:System.out.println ("Battery_health_unspecified_failure"); Default:break;} The current power of the battery, which is between 0 and Extra_scale int level = Intent.getintextra (Batterymanager.extra_level,-1)
This article is an example of how Android gets the battery usage for mobile phones. Share to everyone for your reference. Specifically as follows:
Principle Overview:
The acquisition of cell phone battery power is also commonly used in the development of applications, the mobile phone battery in the
This article is an example of how to update the battery power information of Android programming. Share to everyone for your reference, specific as follows:
Battery information, voltage, temperature, charging status, etc., are provided by Batteryservice. Batteryservice is run in the system_process, when the system initialization, the following
You can see the c
Principle Overview:
The acquisition of cell phone battery power is also frequently used in application development. In Android systems, messages that change cell phone battery power are broadcast using Intent, and commonly used Intent actions include Intent. ACTION_BATTERY_CHANGED (when the battery power changes), Inte
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.