making charging cycles counting undocks not dock attempts
Merge branch 'master' into pulse
wrong state replaced with Pulse