toggl-zei-py/zei/BatteryLevelChar.py
2020-08-12 18:45:40 +02:00

15 lines
338 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
from bluepy import btle
import ZeiCharBase
# pylint: disable=E1101
class BatteryLevelChar(ZeiCharBase.ZeiCharBase):
svcUUID = btle.AssignedNumbers.battery_service
charUUID = btle.AssignedNumbers.battery_level
def __init__(self, periph):
super.__init__(self, periph)