Using dark mode is hugely beneficial for your battery life in one situation, study finds.