u can check sys/class/power_supply/battery---> for the status like
soc,vcell,temp etc
the battery charger (chipname_charger) could be in drivers/power/ or it can
be in drivers/misc or it can be in drivers/properitory/
but actual core file would be drivers/power/power_supply_core.c
power_supply_s
thanks your answer
I did not find any _charger.c file respond for my chip
under kernel/drivers/power/ .
but I found _bat.c in /drivers/misc/, and it is build into
binary file. In this file the method get_property() which is in struct
"power_supply"
is used to get the battery status. may this