new event in slider battery to simulate charging
improve event when charging battery