[modules/battery] Better display for "unknown" charge status

Some laptops, such as Dells, may display an unknown charge state when
the battery is attached to a docking station, but discharging (because
of configuration settings for longevity of the battery).

Show that nicer.
This commit is contained in:
Tobias Witek 2018-11-09 18:19:05 +01:00
parent e5a003f961
commit 2994d0efa0
4 changed files with 17 additions and 3 deletions

View file

@ -84,6 +84,11 @@
"discharging-50": { "prefix": "\uf115", "suffix": "\uf3e6" },
"discharging-80": { "prefix": "\uf114", "suffix": "\uf3e6" },
"discharging-100": { "prefix": "\uf113", "suffix": "\uf3e6" },
"unknown-10": { "prefix": "\uf112", "suffix": "\uf3bc" },
"unknown-25": { "prefix": "\uf115", "suffix": "\uf142" },
"unknown-50": { "prefix": "\uf115", "suffix": "\uf142" },
"unknown-80": { "prefix": "\uf114", "suffix": "\uf142" },
"unknown-100": { "prefix": "\uf113", "suffix": "\uf142" },
"unlimited": { "prefix": "\uf402", "suffix": "\uf493" },
"estimate": { "prefix": "\uf402" }
},