diff --git a/sepolicy/vendor/system_app.te b/sepolicy/vendor/system_app.te index 4121365..616ed27 100644 --- a/sepolicy/vendor/system_app.te +++ b/sepolicy/vendor/system_app.te @@ -13,6 +13,9 @@ allow system_app sysfs_zram:file r_file_perms; allow system_app sysfs:file { getattr }; +# Battery Health +r_dir_file(system_app, vendor_sysfs_usb_supply) + allow system_app vendor_sysfs_battery_supply:dir search; allow system_app vendor_sysfs_battery_supply:file r_file_perms;