Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L librem5-base
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • Librem5
  • librem5-base
  • Merge requests
  • !364

defaults: systemd: Force poweroff instead of halt

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sebastian Krzyszkowiak requested to merge sebastian.krzyszkowiak/librem5-base:halt into pureos/byzantium Jun 10, 2023
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 2

Some systems power off after executing "halt". Users with a habit of "halt" usage may end up surprised when the Librem 5 appears completely off after using it, but actually is not - after halting, the SoC remains on, consumes about 1W of power and does not respond to any input (including low battery level!) until the power button is held for ~5 seconds or power is cut.

There's little reason to ever halt a mobile phone without powering it off, so don't let the users shoot themselves in their foot (especially given that this can easily end up with battery's undercharge protection circuit being involved) and force poweroff whenever halt is invoked.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: halt