sxmo_wakelock.sh(1)

πŸ“¦ version 1.18.1, in alpine 3.24

πŸ’– NAME πŸ’–

Okay so sxmo_wakelock.sh(1) is a General Commands Manual girlie, and her whole job is: sets or remove wakelocks. That's the name, that's the vibe, periodt. πŸ’…

✨ SYNOPSIS ✨

sxmo_wakelock.sh [subcommand]

πŸ”₯ DESCRIPTION πŸ”₯

This script sets or removes a wakelock. A wakelock literally tells the kernel to ensure a device is awake at a particular time. No cap, that's the whole point. 🫢

πŸŽ€ SUBCOMMNANDS πŸŽ€

Yes, the heading says SUBCOMMNANDS β€” we're keeping it, it's iconic. πŸ’€

  • isenabled β€” tells you whether wake lock functionality is available. Exit code 0 means it is available; non-zero means it is not. ✨
  • lock <lock-name> <DURATION|nanosec|infinite> β€” sets a wakelock. DURATION is an integer with suffix ms (milliseconds), s (seconds), h (hours), mn (minutes), or an integer in nanoseconds if no unit was provided. It may also be the string "infinite". πŸ”’
  • unlock <lock-name> β€” removes a wakelock. Bye bestie πŸ‘‹
  • run <command> β€” spawns a command and sets a wakelock for its entire duration. Main character command energy, honestly. πŸ‘‘

🌈 SEE ALSO 🌈

sxmo(7)


This little cutie is the sxmo_wakelock.sh(1) page from the General Commands Manual, dated 2026-05-10. Stay awake, stay slay. πŸ’…βœ¨

πŸ“¦ where this page comes from