Font Size: a A A

The Research And Implementation Of Dual Battery Technology Based On Android Platform

Posted on:2018-07-23Degree:MasterType:Thesis
Country:ChinaCandidate:L H WangFull Text:PDF
GTID:2382330569475195Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the development of intelligent terminal equiment based on Android system platform,portal devices a growing number of portable equiment and applications,Then comes the rise of functionally and performance,the increasing power consumption of the system has a higher requirment on the system life.So,Studying power management technology for the effcient use of system resources and increasing the system life has a greatful meanning.Aiming at the idr420 identity authentication intelligent terminal equipment,based on android powermanagement and rk818 battery management,Analysing the circuit design of Power indicator light and sn8200 dual battery from the hardware point of view,analysing the working principle of battery meter,and then configuring device driver for dts and config,realizing the function of power indicator light,Analysing the realization process of electric meter and data reporting.At last,realized the dual battery power supply function.Rk818 power management chip is to provide power for the integrated circuit,realized single battery driver function."rk818-battery" driver including battery meter,charge lighting and battery temperature detect function and so on.Battery driver mainly uses the work queue mechanism to update the battery state in real time.the core task of the battery meter is to continuously read the battery voltage,current and capacity to calculate the percentage of power according to ocv_table,and then adjust it according to battery operating mode and other parameters.The bottom of linux using hot update mechanism to writes the battery related parameters from the kernel to the user space.The power indicator is used to promting users to identify whether access to AC or USB charging.Dual battery sn8200 have stationary battery batb and non-stationary battery bata,two batteries are exactly the same.The core task of the driver is to realize the normal power supply after the battery intelligent switch,and provide battery forced switch,read power supply state,battery numbers functions and so on at the same time.Driver including initializatino module,battery switch module,command controls module and so on.Command control interface is implemented in the “batteryproperties” service,whichis a system service realized based on binder communication mechanism,At last,the function test of the dual battery including the battery switch,battery present,temperature detection and electricity detection.
Keywords/Search Tags:Intelligent terminal, power management, battery meter, workqueue, dual battery, hot update
PDF Full Text Request
Related items