[bug fixs] TDIS-5618, Changed to use define getter to protect the battery object.