Fix padding issue with Rainbow battery

Change-Id: I13cd6e12510387575f86745089aae393edca79db