Fixes: - Improvement on the handling of data writing process under low battery conditions to reduce the chances of database corruption.