codler / Battery-Time-Remaining

Show battery time remaining in Mac OS X 10.8+ Mountain Lion and Mavericks
http://yap.nu/battery-time-remaining/
Other
412 stars 72 forks source link

Notifications while charging! #79

Closed gblazex closed 10 years ago

gblazex commented 10 years ago

I'd like to prevent my battery from charging over 80% as per the recommendations here:

http://batteryuniversity.com/learn/article/do_and_dont_battery_table

Unfortunately your app (which I bought through the Mac App Store) only shows notifications while discharging.

gblazex commented 10 years ago

One way to solve this could be:

Percentages above 75% should send "Charged to X %" type notifications by default (instead of "battery remaining...").

It doesn't really make sense to get notifications if my battery is discharged to 80% (still got tons of juice), but it makes perfect sense to be alarmed when charging hits 80% (see my link above).

danielmartin commented 10 years ago

If we're going to implement this, it'd make sense to have two percentages: an upper limit (set by default to 80%) and a lower limit (set by default to 50%). You get a notification when you hit 80% connected to AC, and another notification when you hit 50% on battery.

We could name it "battery health" mode, or something like that. What do you think?

pianomansam commented 10 years ago

I too would like to see this feature as this is the reason why I am using the app. Perhaps the easiest way to implement something like this is to have the notifications be show regardless if the battery is charging or discharging. Currently they only seem to show if the battery is discharging, except when the battery is full.

codler commented 10 years ago

Now implemented. Notifications above 50% notifies while charging.

pianomansam commented 10 years ago

Working great!

saschafiedler commented 10 years ago

Not working for me. What am I doing wrong? http://cl.ly/Unhv