sugar-toolkit-gtk3/shell/model/devices/battery.py

12 lines
217 B
Python
Raw Normal View History

from model.devices import device
class Device(device.Device):
def __init__(self):
device.Device.__init__(self)
def get_type(self):
2007-02-25 02:00:40 +01:00
return 'battery'
def get_level(self):
return 0