Wiggle screen on alarm
authorEnrico Zini <enrico@enricozini.org>
Mon, 17 Aug 2009 22:07:40 +0000 (23:07 +0100)
committerEnrico Zini <enrico@enricozini.org>
Mon, 17 Aug 2009 22:07:43 +0000 (23:07 +0100)
src/audio.vala

index b8cd35d74aa9d791113ed56872e9914ff0199f5a..4cc37f444373b25e1a02e28fd810ab7543eed578 100644 (file)
@@ -43,6 +43,8 @@ public class Audio: zavai.Service
 
     public void notify_alarm(zavai.clock.Alarm a)
     {
+        // Wiggle screen to turn on backlight
+        zavai.ui.power.backlight.wiggle();
         try {
             vibdev.BlinkSeconds(2, 500, 200);
         } catch (Error e) {