Filling a bar on button hold works, reducing the value on hold does not.

No problem!

It might be that the “Meter Power” variable should be separate from the “Charging Amount”: