On 8 December 2011 10:02, Anton Vorontsov <cbouatmailru@xxxxxxxxx> wrote: > I see one problem with this approach. Userland will need patching > to distinguish system and device power supplies. So, even with > the patch applied, old userland will behave incorrectly. Userland will need patching anyway, as old versions of upower assumed anything showing up in /sys/class/power_supply was powering the system. Richard. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html