fix build error: Resource at def_battery_style appears in overlay