How to Monitor Power Management Changes?
#1
Does anyone know where or how to catch signals from the power management module. DBUS? /proc? I am porting kalliope and I need to shut down whenever the phone sleeps or suspends or even blanks the screen.

Between ACPI, DPM, pm_utils and Crust I am not sure where to look. Or what to look for.

TIA
LF
  Reply
#2
Answering my own questions again, lol
And as I search for information on gnome-calls I find https://wiki.mobian-project.org/doku.php?id=tweaks
with lots of good information including, gnome-session-inhibit and lots of other stuff for all distros

Then I stumble across https://developer.puri.sm/Librem5/APIs.h...ght=mutter which has

D-Bus APIs provided by the Phone Shell (Phosh): New research project is mutter I guess
YMMV, mine certainly does

LF
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb Article: Experiments for super low PinePhone power consumption with Genode Surehand53 1 1,935 12-27-2022, 02:21 PM
Last Post: Samurai_Crow
  Most Power Efficient OS Image jwinarske 0 779 07-05-2022, 07:05 PM
Last Post: jwinarske
  Keyboard Case Power Management Daemon estokes 2 1,961 04-16-2022, 04:15 PM
Last Post: estokes
  Diagnosing power usage with ZZZtop biketool 1 1,777 10-21-2021, 01:23 PM
Last Post: tllim
  Reviewing our Forebearer's Work re:Power Consumption biketool 0 1,104 10-20-2021, 09:51 AM
Last Post: biketool
  PSA: WiFi driver is broken - Unload kernel module to save lots of power Trbl 3 3,913 06-23-2021, 02:28 AM
Last Post: Merc
  Power Consumption Monitoring Software? Lousy Fisherman 0 1,715 11-22-2020, 03:20 PM
Last Post: Lousy Fisherman
  Clock and Power Rate running on Pinephone/Mobian Cynics 0 1,886 07-22-2020, 04:13 PM
Last Post: Cynics
  pplockd: Simple power management/CRUST daemon for X11 GUIs on PinePhone Subsentient 1 3,508 07-04-2020, 06:39 AM
Last Post: Subsentient
  Power management under light load Dmytro 2 2,900 06-21-2020, 05:39 PM
Last Post: Awesomesauce71

Forum Jump:


Users browsing this thread: 1 Guest(s)