Duplicated battery warning fix