Re: [PATCH 14/14] HID: wiimote: Read wiimote battery charge level
From: David Herrmann <hidden>
Date: 2011-08-29 14:41:04
From: David Herrmann <hidden>
Date: 2011-08-29 14:41:04
On Mon, Aug 29, 2011 at 4:28 PM, Oliver Neukum [off-list ref] wrote:
Am Montag, 29. August 2011, 15:38:11 schrieb David Herrmann:quoted
This adds a new sysfs file for wiimotes which returns the current battery charge level of the device. Since this information is not sent by the wiimote continously, we need to explicitely request it.Again I need to ask whether you really want a specific interface for a functionality which is common to many devices.
Thanks for the hint. I will convert it to use "struct power_supply". I wasn't aware it existed. So patch 13 and 14 can be dropped from this set.
Regards Oliver
Thanks David -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html