Improve data logger stability