diff mbox series

[BlueZ,v6,4/6] adapter-api: Add PowerState property documentation

Message ID 20220901104331.174588-4-hadess@hadess.net
State Superseded
Headers show
Series [BlueZ,v6,1/6] adapter: Keep track of whether the adapter is rfkill'ed | expand

Commit Message

Bastien Nocera Sept. 1, 2022, 10:43 a.m. UTC
---
 doc/adapter-api.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
diff mbox series

Patch

diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index 48466ab75..9b2721c1b 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -269,6 +269,21 @@  Properties	string Address [readonly]
 			restart or unplugging of the adapter it will reset
 			back to false.
 
+		string PowerState [readonly, experimental]
+
+			The power state of an adapter.
+
+			The power state will show whether the adapter is
+			turning off, or turning on, as well as being on
+			or off.
+
+			Possible values:
+				"on" - powered on
+				"off" - powered off
+				"off-enabling" - transitioning from "off" to "on"
+				"on-disabling" - transitioning from "on" to "off"
+				"off-blocked" - blocked by rfkill
+
 		boolean Discoverable [readwrite]
 
 			Switch an adapter to discoverable or non-discoverable