Disable runtime estimation altogether when there is no runtime current defined. ...
commita8139c9a6f35261fbbd86a1d7753acd3eee9a64a
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
parenta705433399f65add95ce309e75dc54a6e2f9828a
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