Skip to content

Plugins: Battery: Use has history for battery primary condition check

Changes the primary battery selection to use the has-history field to check if the battery has history since thats what is being displayed. Looking at the logs from a jingpad, pinephone pro only the actual batteries have that field set to yes and everything else shows no. This will also help with devices that dont have a technology field set in upower. Signed-off-by: Luigi311 git@luigi311.com

Merge request reports