tamsui: fix offline battery charging

Change-Id: Ia2c684a05a6745665982730cfbf0e605c3ecd91f