Battery plugin charging behaviour is not working

I’ve followed this tutorial to start with a battery system for my ignition gazebo world. Ignition Gazebo: Battery

If you run the command mentioned there: ign gazebo -v 4 linear_battery_demo.sdf -z 1000000
You will get a world with two robots and one with a battery. The battery is draining as expected but once you publish the charge/start topic, even though the state power_supply_status changes to CHARGING, the percentage is not increasing but only starts charging around 90% but quickly discharges and get to the 90% steady-state value.

ps: I’ve used the <fix_issue_225>true</fix_issue_225> flag as well to try.

Does anyone have any solution for this?