Battery icon indicating copy to clipboard operation
Battery copied to clipboard

[Linux] define bat state files on runtime

Open laur89 opened this issue 7 years ago • 0 comments

I see there's some logic for specific flavors of linux, but I'm not convinced this is entirely dependent on distribution. I'm running same version of debian on different hardware (HP and lenovo), and the battery state files are named differently - eg. {energy,charge}_now.

PR https://github.com/Goles/Battery/pull/26 adds the possibility to resolve the filename prefixes during runtime dynamically.

laur89 avatar Oct 28 '17 15:10 laur89