<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def total_charge(self):
 """Total charged used in the unit of mAh. """

        charge = (sum(self.data_points) / self.hz) * 1000 / 3600
        return round(charge, self.sr)