Hi all,

I have some questions about how to use the Battery Manager API. I want to write application code that is independent from the hardware. So my first try to retrieve the battery os_dev was using the `battery_mgr_find_by_name` function. However this function doesn't have a implementation. My second try was using `battery_get_battery` function, which returns the battery as expected, however it was not initialized. I got it working using `os_dev_open("battery" ...)`, however now I am dependant on the device name. So my questions are:

- Why is `battery_mgr_find_by_name` not implemented?
- Who is supposed to do `os_dev_open("battery" ...)`? Is that the application, the BSP or something else?
- Are there examples of the usage of Battery Manager API?

Thanks in advance,
Casper

Reply via email to