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 <[email protected]> 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.
>
> On Tue, Jan 17, 2012 at 5:58 PM, carchangel <[email protected]>wrote:
>
> > hello every one
> >        I want to know which source file is responsible for the
> > battery-charging status in kernel,
> > can anyone know ,thanks.
>
> > --
> > unsubscribe: [email protected]
> > website:http://groups.google.com/group/android-kernel
>
> --
> Have a nice time !!!
>
> Cheers,
> Sachin.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to