Fix time remaining calculation. Display when battery is charged