Comment 6 for bug 1315434

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Jochen, thanks for the patch. But from your description, it seems like it wouldn't fix the problem, and it would need to be removed when the problem was fixed.

The problem isn't that we're treating laptop batteries the wrong way, it's that we're treating the mouse the wrong way. Specifically, we're treating a device that is discharging over weeks or months as more important than *anything* that's charging, whether it's a laptop battery or not.

With your patch, the mouse would still take precedence over anything charging quickly that wasn't a laptop battery, which would be inappropriate. And the laptop battery would take precedence over the mouse even when the mouse had only five minutes charge left, which would also be inappropriate.

So we need some other criteria for deprioritizing things that are discharging very slowly. I don't think whether something is rechargeable is relevant: if my mouse battery is going to die in 20 minutes, I want to know that regardless of whether the solution is docking it or buying new batteries.