Battery Life Estimation: First try

2008-05-02 Thread Richard A. Smith
Over the past week or so during my walk to and from 1cc I've been pondering about about battery life estimation. I've also had a conversation with a G1G1 user who made me realize that it really doesn't even have to be that accurate. It just has to be reasonable. Since my power logging script

Re: Battery Life Estimation: First try

2008-05-02 Thread Martin Dengler
On Fri, May 02, 2008 at 04:24:10PM -0400, Richard A. Smith wrote: The script is available at: http://dev.laptop.org/~rsmith/olpc-bat_ttl I've hacked[1] my {model,view}/.../battery.py to use your TTL_INST for showing the user the time remaining. Thanks for putting this together. Martin 1.

Re: Battery Life Estimation: First try

2008-05-02 Thread Richard A. Smith
Martin Dengler wrote: Martin 1. Obviously I wouldn't want to submit my hack as a patch, but what should be done? Should we add this logic to the Hal so I can retrieve it via dbus? Dunno. dbus should perhaps be able to feed up the ACR value when requested but I don't think its the place