client: Print the PowerState property
authorBastien Nocera <hadess@hadess.net>
Thu, 1 Sep 2022 11:07:16 +0000 (13:07 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
client/main.c

index b4e9f35..6db8373 100644 (file)
@@ -980,6 +980,7 @@ static void cmd_show(int argc, char *argv[])
        print_property(adapter->proxy, "Alias");
        print_property(adapter->proxy, "Class");
        print_property(adapter->proxy, "Powered");
+       print_property(adapter->proxy, "PowerState");
        print_property(adapter->proxy, "Discoverable");
        print_property(adapter->proxy, "DiscoverableTimeout");
        print_property(adapter->proxy, "Pairable");