don't shut down because of low battery level if battery is charging
(cherry picked from commit a94e9b679ca0fdc6f0695b51ee0709544772906b)
Merge branch 'v1-train-battery-charging' into v1-train-integration