My question is about Laptop Battery Monitoring. As we know, there is a
number of Battery Monitoring Softwares available on the Internet. As a
practice, I want to implement one for myself.
Since Battery is generally connected to KBC through I2C interface, and
KBC is connected to South Bridge through LPC interface, I planned to
access the Battery first through South Bridge, then KBC, and finally
the Battery itself (But I did not try it yet).
However, this idea has an obvious problem: It will be device-
dependent; i.e. The implementation will depend on the specific South
Bridge and KBC used. So I doubt that the Battery Monitoring Softwares
available are not designed this way, and I guess they might have taken
advantage of ACPI.
eric.man.li@gmail.com wrote:
> My question is about Laptop Battery Monitoring. As we know, there is a
> number of Battery Monitoring Softwares available on the Internet. As a
> practice, I want to implement one for myself.
>
> Since Battery is generally connected to KBC through I2C interface, and
> KBC is connected to South Bridge through LPC interface, I planned to
> access the Battery first through South Bridge, then KBC, and finally
> the Battery itself (But I did not try it yet).
>
> However, this idea has an obvious problem: It will be device-
> dependent; i.e. The implementation will depend on the specific South
> Bridge and KBC used. So I doubt that the Battery Monitoring Softwares
> available are not designed this way, and I guess they might have taken
> advantage of ACPI.
>
> Is somebody there know the right things to do?
>
Look into the source code for some of the software - such software
worked fine on ym Debian laptop