Suspend using pm-suspend
authorEnrico Zini <enrico@enricozini.org>
Fri, 4 Dec 2009 19:55:04 +0000 (20:55 +0100)
committerEnrico Zini <enrico@enricozini.org>
Fri, 4 Dec 2009 19:55:04 +0000 (20:55 +0100)
src/app_power.vala

index 45100b873559feeb45b6c524b98bb6d8a7ac3d49..d2c1f74cf654034aa39bf8baa0f585713481ca0d 100644 (file)
@@ -84,6 +84,7 @@ public class Power : zavai.Resource, Object
        public void do_suspend()
        {
                bool done = false;
        public void do_suspend()
        {
                bool done = false;
+               /*
                if (!done)
                {
                        try {
                if (!done)
                {
                        try {
@@ -94,6 +95,7 @@ public class Power : zavai.Resource, Object
                                zavai.log.error("Suspending phone with ousaged: " + e.message);
                        }
                }
                                zavai.log.error("Suspending phone with ousaged: " + e.message);
                        }
                }
+               */
                if (!done)
                {
                        /*
                if (!done)
                {
                        /*