thanks your answer
I did not find any <chipname>_charger.c file respond for my chip
under kernel/drivers/power/ .
but I found <chipname>_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 is the file I want.
Best wish to you
carchangel
On 1月18日, 午後1:42, Sachin Nikam <
sachini...@gmail.com> wrote:
> cd kernel/drivers/power/
>
> See which battery charger/status reporting chip you are using the name of
> the file would be <chipname>_charger.c
>
> Thanks,
> Sachin Nikam.
>