Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ ac_connected
Function
ac_connected
sensors_information.py:25–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
24
25
def
ac_connected():
26
return
psutil.sensors_battery().power_plugged
27
28
29
def
show_sensors():
Callers
1
show_sensors
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected