Disable runtime estimation altogether when there is no runtime current defined. ...
commit589abcd416165827f935c49e5c05582b2c35e9eb
authorMichael Giacomelli <giac2000@hotmail.com>
Tue, 16 Mar 2010 17:13:25 +0000 (16 17:13 +0000)
committerMichael Giacomelli <giac2000@hotmail.com>
Tue, 16 Mar 2010 17:13:25 +0000 (16 17:13 +0000)
tree61b25666deb1140a8a34f7118924edd16dbf969c
parent3b5418e8145152158fc6f72bace1eb8d4a7cb13e
Disable runtime estimation altogether when there is no runtime current defined.  It doens't work and people somehow got confused by seeing obviously wrong values.  Now it will just return -1 if you try to estimate runtime without having the current defined.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25222 a1c6a512-1295-4272-9138-f99709370657
firmware/export/powermgmt.h
firmware/powermgmt.c