On mobile devices, I can see this API for decent tracking. However, for laptops, it seems easy to have the laptop fully charged and plugged in to defeat it as this is probably a very common state.<p>It would be fun to alter the API output to randomize the battery data. Even have it be off power, and slowly climb in charge.