#66 Add sysfs support to battery plugin

6.1
open
nobody
5
2011-10-09
2011-10-09
nick
No

The battery plugin reads info from /proc/acpi, which is deprecated behavior. This patch adds support for reading from /sys, which is the suggested behavior.

Patch should apply against svn 513.

Discussion

  • nick

    nick - 2011-10-10

    Sysfs battery plugin patch

     
  • nick

    nick - 2011-10-10

    updated patch to check for both energy_now/full and charge_now/full files, as the most recent kernels seem to use the energy file, but older use charge

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks