|
|
@ -118,7 +118,7 @@ def battery_to_dict(battery): |
|
|
|
return dict( |
|
|
|
return dict( |
|
|
|
name = battery.get_name(), |
|
|
|
name = battery.get_name(), |
|
|
|
level = battery.get_level(), |
|
|
|
level = battery.get_level(), |
|
|
|
state = battery.get_state(), |
|
|
|
status = battery.get_status(), |
|
|
|
ac_status = battery.get_ac_status(), |
|
|
|
ac_status = battery.get_ac_status(), |
|
|
|
capacity = battery.get_capacity(), |
|
|
|
capacity = battery.get_capacity(), |
|
|
|
time = battery.get_time(), |
|
|
|
time = battery.get_time(), |
|
|
|