[Trent M. Wyatt]’s CPUVolt library provides a fast way to measure voltage using no external components, and no I/O pin. It only applies to certain microcontrollers, but he provides example Arduino ...
The lithium-ion battery inside your Android phone has a limited life span. Every charge-discharge cycle degrades its capacity a little (because the lithium charges zipping around the battery are lost ...