fix the time calculation to be 
1) floating point not integer, better rounding behavior this way
2) actually use the time spent, not the remaining time on keypress


git-svn-id: https://powertop.googlecode.com/svn/trunk@150 0bbd23ad-e62f-0410-b3b3-4ddab988b7fa
3 files changed