Menu

#4 Should not rely on procfs power interface

open
nobody
None
5
2011-10-05
2011-10-05
No

acpitool cannot report anything about the battery, if CONFIG_ACPI_PROCFS_POWER is disabled.
This feature has been scheduled to be removed:

What: CONFIG_ACPI_PROCFS_POWER
When: 2.6.39
Why: sysfs I/F for ACPI power devices, including AC and Battery,
has been working in upstream kernel since 2.6.24, Sep 2007.
In 2.6.37, we make the sysfs I/F always built in and this option
disabled by default.
Remove this option and the ACPI power procfs interface in 2.6.39.
Who: Zhang Rui <rui.zhang@intel.com>

(See https://github.com/torvalds/linux/blob/v3.1-rc9/Documentation/feature-removal-schedule.txt#L237\)

Discussion


Log in to post a comment.