The logic used to set the LEDs in battery level mode only occurs when there is a change to the battery level, meaning that hot-reloading won't trigger an update and the LEDs continue in their last set value.
I'm thinking on what to do regarding this. The easiest solution would be setting the battery state to an "invalid" value to force the current logic on occurring, but this does not seems like a solution
The logic used to set the LEDs in battery level mode only occurs when there is a change to the battery level, meaning that hot-reloading won't trigger an update and the LEDs continue in their last set value.