MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_battery_percent

Method get_battery_percent

tests/test_pager_code.py:436–438  ·  view source on GitHub ↗

Get battery percentage (simulated).

(self)

Source from the content-addressed store, hash-verified

434
435 # ========== BATTERY (simulated) ==========
436 def get_battery_percent(self):
437 """Get battery percentage (simulated)."""
438 return 75
439
440 def get_battery_charging(self):
441 """Check if charging (simulated)."""

Callers 1

run_testsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected