Adding rectangular block animation for battery level