You can clone with
HTTPS or Subversion.
fixed sleep & awake
I haven't tried this library yet, but i'm curious as to why the awake() method now does nothing.
I got Tina stoping point with this code some time ago and haven't revisited it yet. I left it blank as a placeholder
Ha, "this", not Tina, damn autocorrect
Okay, that makes more sense. :) I may not need sleep(), but if I do make it work I can email you and Tina a patch.
I actually, made several changes - let me know if you want me to email them to you or something. I have awake() and sleep() working, added batteryMillivolts() and clearAlert(). I made a slightly ugly change, requiring a part name when instantiating (eg: MAX1704 fuelGauge(PART_MAX1703);) - the 1703/1704 return different values for the VCELL register (batteryMillivolts()). Anyway, seems to be working - although I don't have a dying battery to test completely. :)