client: add AffectedByPolicy property
authorYun-Hao Chung <howardchung@chromium.org>
Wed, 11 Aug 2021 07:08:57 +0000 (15:08 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:36 +0000 (19:08 +0530)
commita8ac821248584ae31f884eb47a73b42df0d85762
tree3bb03a1df5782552a24e01bfcb1657f3c8eef0d5
parentb5120d93ca99488a1fe93b3433614ff03c9919f3
client: add AffectedByPolicy property

This prints property AffectedByPolicy in device info if
org.bluez.AdminPolicyStatus1 exists.

This also rename find_battery_by_path to find_proxies_by_path to reuse
the function.

Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
client/main.c