Many thanks, will try that. The sense would be that restarting bme while charging is generally a bad idea I think. And it could in fact happen when you put the charger to your phone with nearly or completely drained battery.