Hi,

I have a power supply driver and its properties are exposed
under*/sys/class/power_supply/<chip_name>/..
* It has list like *voltage_now, health* etc etc. If I do a '*cat
voltage_now*' I can get the needed data.

>From user space I want to call an API which can give me access to reading
the battery properties. I am not aware of such interface. I dont want to do
'*cat*' all the times.

Can someone provide inputs please?

Regards,

Yog

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to