For some reason the script was exiting when the battery was fully charged (?)
Made the script return 100 when the 'FullyCharged' indicator says Yes