Disable runtime estimation altogether when there is no runtime current defined. ...
commit6e167fd55d9b42cae981b436baaa53460d72cee2
authorsaratoga <saratoga@a1c6a512-1295-4272-9138-f99709370657>
Tue, 16 Mar 2010 17:13:25 +0000 (16 17:13 +0000)
committersaratoga <saratoga@a1c6a512-1295-4272-9138-f99709370657>
Tue, 16 Mar 2010 17:13:25 +0000 (16 17:13 +0000)
tree61b25666deb1140a8a34f7118924edd16dbf969c
parentdaa3c3aa26350542ecb847477c562a0aa436692f
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