if the BatteryStats service is crashed, we will provide the default instance for all modules in the battery settings, but it will encounter the IllegalStateException if we try to parse its history content (reference: ag/15926630) Bug: 201729939 Test: make SettingsRoboTests Change-Id: Ifebb48551e371e7c4e121969cb92cf95aa026812