base: fix NPE in percent battery onDraw on boot

Change-Id: Ia1e16681730538ebb56a0fe8a0b49dc3174be2e7