This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit 5c4f26f2513b9c548082902738e810e03c026730
Author: Carsten Haitzler <[email protected]>
AuthorDate: Tue Jan 17 09:08:28 2023 +0000

    power - add some debug printfs for info on what is going on
---
 src/bin/e_powersave.c            | 2 ++
 src/modules/battery/e_mod_main.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/src/bin/e_powersave.c b/src/bin/e_powersave.c
index efc2e6998..d39834fe7 100644
--- a/src/bin/e_powersave.c
+++ b/src/bin/e_powersave.c
@@ -365,8 +365,10 @@ _e_powersave_event_update_free(void *data EINA_UNUSED, void *event)
    else mode = powersave_mode;
    free(event);
 
+   printf("PWSAVE: update free...\n");
    if (mode > E_POWERSAVE_MODE_LOW)
      {
+        printf("PWSAVE: low pwr hib=%i sus=%i\n", powersave_deferred_hibernate, powersave_deferred_suspend);
         if (powersave_deferred_hibernate)
           e_sys_action_do(E_SYS_HIBERNATE, NULL);
         else if (powersave_deferred_suspend)
diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c
index f329ac2bd..6985c6100 100644
--- a/src/modules/battery/e_mod_main.c
+++ b/src/modules/battery/e_mod_main.c
@@ -936,6 +936,7 @@ _battery_update(int full, int time_left, int time_full, Eina_Bool have_battery,
             (battery_config->suspend_below > 0) &&
             (full < battery_config->suspend_below))
           {
+             printf("battery %i suspend below %i\n", full, battery_config->suspend_below);
              if (battery_config->suspend_method == SUSPEND)
                e_sys_action_do(E_SYS_SUSPEND, NULL);
              else if (battery_config->suspend_method == HIBERNATE)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to