brianmichel / Juice

Make your battery information a bit more interesting.
758 stars 39 forks source link

Add step "0% to 5% battery" #29

Open tulpixer opened 5 months ago

tulpixer commented 5 months ago

At the moment, we can only use steps that go 10% each (eg. 0-10%, 10-20%...). But the Apple silicon machines have gotten such long battery life that I want to show a "charge" indicator only below 5%, not below 10%. Is this somehow possible by editing the scale files?

I tried adding a "0.5" entry, but this didn't work (see picture)

juice
brianmichel commented 5 months ago

Hmm, good question, I've noticed this myself in regular usage. Unfortunately when I originally built this I used an Int instead of a Float for the detent values so I'm not surprised manually adding 0.5 in the file doesn't work.

I'm on paternity leave right now so I might pick this project back up, but to be totally honest with you, there's a lot of clean up to do in this project to make it modern enough to work on again so I can't promise anything for the time being.

tulpixer commented 5 months ago

Long time user of your little project, I'd be really happy if you'd update! But by the way, apart from this little feature request I'm totally satisfied Juice :)