4 ms·
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
by jeff6845 9y ago
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.
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.