init.hardware.rc: add permission for battery eeprom

Bug: 160202146
Signed-off-by: Jenny Ho <hsiufangho@google.com>

Merged-In: Iae5e666e50cf017baea0ca2f74057820f84cfbaa
Change-Id: Iae5e666e50cf017baea0ca2f74057820f84cfbaa
diff --git a/init.hardware.rc b/init.hardware.rc
index cd3f04d..76f758a 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -379,6 +379,8 @@
     # Permission for battery eeprom
     chown system system /sys/devices/platform/soc/a8c000.i2c/i2c-2/2-0050/2-00500/nvmem
     chmod 0640 /sys/devices/platform/soc/a8c000.i2c/i2c-2/2-0050/2-00500/nvmem
+    chown system system /dev/battery_history
+    chmod 0644 /dev/battery_history
 
     # Permission for Pixelstats
     chown system system /sys/class/misc/msm_cirrus_playback/resistance_left_right