The current logic is, that discharging has precedence over charging. But this is useles, sind mice normally have primary cells that cannot be charged. And I'm not interested in their status because they run monthes, even with a low status. The current logic is absolutely nonsens and not practical!
I changed the sorting algorithm in service.c so that laptop battery has always the highest precidence.
If others wish this to be the same, and want to recompile indicator-power, I attach a patch.
The current logic is, that discharging has precedence over charging. But this is useles, sind mice normally have primary cells that cannot be charged. And I'm not interested in their status because they run monthes, even with a low status. The current logic is absolutely nonsens and not practical!
I changed the sorting algorithm in service.c so that laptop battery has always the highest precidence.
If others wish this to be the same, and want to recompile indicator-power, I attach a patch.