allow hal_power_default cgroup:file read;
allow hal_power_default cgroup:file rw_file_perms;
allow hal_power_default latency_device:chr_file rw_file_perms;
allow hal_power_default sysfs_battery_saver:dir r_dir_perms;
allow hal_power_default sysfs_battery_saver:file rw_file_perms;
allow hal_power_default proc:{ file lnk_file } rw_file_perms;
allow hal_power_default { sysfs_devfreq sysfs_kgsl }:dir search;
allow hal_power_default { sysfs_devfreq sysfs_kgsl }:{ file lnk_file } rw_file_perms;
allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
allow hal_power_default sysfs_touchpanel:dir search;
allow hal_power_default sysfs_touchpanel:file rw_file_perms;

r_dir_file(hal_power_default, sysfs_graphics)
set_prop(hal_power_default, vendor_power_prop)

typeattribute hal_power_default mlstrustedsubject;

# Set scheduling info for apps (for adpf)
allow hal_power_default appdomain:process { getsched setsched };
allow hal_power_default self:capability sys_nice;

# Set scheduling info for system_server (for adpf)
allow hal_power_default system_server:process setsched;
