diff --git a/wa/workloads/idle.py b/wa/workloads/idle.py index 8d49c89e..3f7ba9c0 100644 --- a/wa/workloads/idle.py +++ b/wa/workloads/idle.py @@ -88,5 +88,6 @@ class IdleWorkload(Workload): self.target.sleep(1) if self.screen_off and self.old_screen_state: self.target.ensure_screen_is_on() - elif not self.screen_off and not self.old_screen_state: + elif (self.target.os == 'android' and + not self.screen_off and not self.old_screen_state): self.target.ensure_screen_is_off()