allow thermal-engine self:netlink_kobject_uevent_socket create_socket_perms; r_dir_file(thermal-engine, sysfs_rqstats); allow thermal-engine sysfs_battery_supply:file rw_file_perms; allow thermal-engine sysfs_battery_supply:dir r_dir_perms; allow thermal-engine self:capability { net_admin } ;