diff --git a/vendor/hal_usb_gadget_impl.te b/vendor/hal_usb_gadget_impl.te index 30041467..2b1494f2 100644 --- a/vendor/hal_usb_gadget_impl.te +++ b/vendor/hal_usb_gadget_impl.te @@ -15,3 +15,6 @@ allow hal_usb_gadget_impl proc_interrupts:file r_file_perms; # change irq to other cores allow hal_usb_gadget_impl proc_irq:dir r_dir_perms; allow hal_usb_gadget_impl proc_irq:file w_file_perms; + +allow hal_usb_gadget_impl sysfs_batteryinfo:dir r_dir_perms; +allow hal_usb_gadget_impl sysfs_batteryinfo:file rw_file_perms;