fixed battery percentage precision by using actual value instead of
computed from steps