[Bugme-new] [Bug 10772] New: [appleir] Should use power_supply class to tell battery level
bugme-daemon at bugzilla.kernel.org
bugme-daemon at bugzilla.kernel.org
Thu May 22 02:59:19 PDT 2008
http://bugzilla.kernel.org/show_bug.cgi?id=10772
Summary: [appleir] Should use power_supply class to tell battery
level
Product: Drivers
Version: 2.5
KernelVersion: N/A
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Input Devices
AssignedTo: drivers_input-devices at kernel-bugs.osdl.org
ReportedBy: hadess at hadess.net
The appleir driver was posted here:
http://thread.gmane.org/gmane.linux.kernel.input/4898
The patch shows that it only prints out a warning when the battery is running
flat:
+ dev_err(&appleir->input_dev->dev, "possible flat battery?\n");
Instead, it should use power_supply class, so that the device's battery status
can be propagated to user-space, and allow programs like gnome-power-manager to
warn the user about the low-battery.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list