I'd like to return the value of left battery capacity parsed from the given string. It means I want to get CurrentCapacity / MaxCapacity.
data = '''
    "SuperMaxCapacity" =0
    "MaxCapacity": +4540;
    'CurrentCapacity'=   2897,
    "LegacyBatteryInfo" = {"Amperage"=18446744073709550521,"Flags"=4,"Capacity"=4540,"Current"=2897,"Voltage"=7283,"Cycle Count"=406}
    "MegaMaxCapacity" = 6700
'''
 
     
    