aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/utils/contexts/TobiiProGlasses2.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/argaze/utils/contexts/TobiiProGlasses2.py b/src/argaze/utils/contexts/TobiiProGlasses2.py
index ec2fb6f..389ba82 100644
--- a/src/argaze/utils/contexts/TobiiProGlasses2.py
+++ b/src/argaze/utils/contexts/TobiiProGlasses2.py
@@ -810,6 +810,11 @@ class LiveStream(ArFeatures.LiveProcessingContext):
time.sleep(10)
+ @property
+ def battery(self) -> int:
+ """Tobii device battery level."""
+ return self.__battery_level
+
def __get_request(self, api_action) -> any:
"""Send a GET request and get data back."""