fix for charging battery under 50%