On Fri, 2 Jun 2017, Dave Hansen wrote: > >>>> This will allow upower to not handle those devices anymore and to > >>>> have more > >>>> immediate reportng of the device to the system. > >>> FWIW, I'm on Ubuntu 14.04, and upower *is* reporting my mouse battery > >>> as > >>> if it were a laptop battery. It's mostly garbage, and always reports > >>> 0%, which makes upower always tell me my laptop is 2/3 charged (I > >>> have 2 > >>> real batteries). > > Well, the exported battery might be sending levels instead of > > pourcentages. And upower needs to be upgraded to handle those :( > > It sounds like there are a number of things here where newer kernels are > breaking older userspace. It's also causing some very end-user visible > effects, like having folks' systems auto shut down because upower thinks > their batteries are dead. > > Old versions of upower are obviously confused here. It would be really > nice to ensure that newer kernels don't break it like this. > > IOW, it would be really nice if this were treated like a regression, > because it's tantalizingly close. I agree with Dave. If there is no solution found in time for -rc5, reverting to previous state would be the proper way to go. -- Jiri Kosina SUSE Labs -- 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