remove some crashing
stop battery alarm if it is charging