r_dir_file(hal_health_default, sysfs_batteryinfo) allow hal_health_default sysfs_batteryinfo:file rw_file_perms; allow hal_health_default sysfs:file { open read }; allow hal_health_default sysfs:file getattr;