bokicoder

Results comments of bokicoder

add this ``` services.upower.enable = true; services.power-profiles-daemon.enable = true; ```

@bbedward [dms-1760193778.txt](https://github.com/user-attachments/files/22864836/dms-1760193778.txt)

> 你也可以检查 `loginctl lock-session $XDG_SESSION_ID` 看看是否有效 - 那至少能显示 loginctl 是否已连接 It works

@bbedward I logged and reviewed the dbus messages and found that there are no corresponding dbus calls after waking up from a suspended state, regardless of how the screen is...

> We dont really care about any wakeup signals here, just want the loginctl notification that the system is preparing for suspending. This?

``` ██████╗ █████╗ ███╗ ██╗██╗ ██╗ ██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝ ██║ ██║███████║██╔██╗ ██║█████╔╝ ██║ ██║██╔══██║██║╚██╗██║██╔═██╗ ██████╔╝██║ ██║██║ ╚████║██║ ██╗ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝ INFO go: DMS API Server listening on:...

I know about this, but I was negligent when handling it. It's my fault.

Now it's the lock screen that appears first, then the system waits for about 4 seconds before suspending, Is this normal?

> New release, v0.1.2 properly releases the inhibitor when the lock screen is loaded, removing the delay. It also requires another update to dms binary to get to API v2...