Make your smartphone or tablet battery last longer!
Good range to aim for when charging a Li-ion battery is from about 40 to 80 percent in one go. A bunch of tiny charges throughout the day is your second best bet, and going from zero to 100 and then 100 to zero on a regular basis will put the most strain on your lithium-ion battery.
Healthy Battery Charging notifies you when to plug or unplug your phone from the charger in order to improve the battery life. The app itself is optimized for low battery consumption, running in the background and checking the battery level every 15 minutes. The exact timing of these checks depends on the Android OS, which might schedule them alongside other tasks or delay them when in sleep mode. As a result, the battery level may slightly exceed the high threshold while charging or drop slightly below the low threshold while discharging before you receive a notification.
The app is free, it has no ads and has been open-sourced under the MIT license. The source code is available here:
https://github.com/vbresan/HealthyBatteryCharging
For those who want to know more technical details about Li-ion batteries:
http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries