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

[bug fixs] TDIS-5618