Time for battery change?

Automobiles


Hi, have a Toyota Yaris. A couple of times, the car failed to start because the battery ran out. Both times, car started after a short push and jump start. Both times, it occurred after me waiting for the kids school pickup. First time, I had left the heating on so fair enough. Second time, it was only headlamps. Attached the obd sensor on it and it shows the voltage profile, with the cranking voltage below 10 and it settles at 12.2v after a short drive. Is it time to replace the battery or are these 2 episodes just my fault?