taoshan: fix buggy offline charging.

Change-Id: Iaff82334b84c6701a2be9594d47d6ef66f5a5e1e
Signed-off-by: Varun Chitre <varun.chitre15@gmail.com>