Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc71484e authored by Alessandro Astone's avatar Alessandro Astone
Browse files

sepolicy: recovery: allow recovery to read battery info

Change-Id: I5eaf677d693226c8e060f0ebbebb4e1e4c5eb515
parent d3941b0f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -39,4 +39,7 @@ allow recovery proc_filesystems:file r_file_perms;
allow recovery self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
allow recovery sysfs:file w_file_perms; # writing to /sys/*/uevent during coldboot.
allow recovery tmpfs:file link;

# Read battery percentage
allow recovery sysfs_batteryinfo:dir search;
')