Menu

#807 Battery status needs to read /sys instead of /proc

taskbar
closed-fixed
icewm-1.2 (683)
7
2008-08-04
2008-07-15
Anonymous
No

ACPI_PROCFS_POWER is depreciated. On Debian Lenny the kernel 2.6.25 already don't provide /proc/acpi/battery

It seems this option varnishes on kernel 2.6.26.

I think the source of the battery status should be changed to /sys/class/power_supply

Discussion

  • Marko Macek

    Marko Macek - 2008-08-01
    • labels: --> icewm-1.2
    • milestone: --> taskbar
    • priority: 5 --> 7
    • assigned_to: nobody --> captnmark
     
  • Marko Macek

    Marko Macek - 2008-08-04
    • status: open --> open-fixed
     
  • Marko Macek

    Marko Macek - 2008-08-04

    Logged In: YES
    user_id=1814
    Originator: NO

    Applied to 1.2 branch, with changes:
    - check for sysfs first, and use it
    - fixed handling of AC adapter
    - fixed display of status window

    Please test.

     
  • Marko Macek

    Marko Macek - 2008-08-04
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.