LiquidSmoothROMs/android_frameworks_base — comment on commit 32304f44758d309ac54152bee8f50376495ebc01
File: packages/SystemUI/src/com/android/systemui/statusbar/BatteryIcon.java line 138
By Spitemare:

You don't need this boolean. mBatteryCharging is enough. A call to start() while it is true will end up doing nothing.