allow hal_health_default persist_battery_file:file create_file_perms; allow hal_health_default persist_battery_file:dir rw_dir_perms; allow hal_health_default persist_file:dir search; allow hal_health_default sysfs_batteryinfo:file rw_file_perms; allow hal_health_default mnt_vendor_file:file { getattr open read }; allow hal_health_default mnt_vendor_file:dir { search write }; allow hal_health_default sysfs:file { getattr open read }; allow hal_health_default sysfs_healthd:dir r_dir_perms; allow hal_health_default sysfs_healthd:file rw_file_perms;