When using my various electronic devices, they always seem to know how much charge is left in the battery. They also know when the battery is completely charged.
Not exactly sure how this is measured, but I assume that it is based on the voltage of the cells. Is this drop in voltage linear? If it is linear, then how do iPhones and iPods still run at the end of the charge with so little voltage?
Edit: Bonus points for useful graphs.