{"id":19713526,"url":"https://github.com/shalomb/laptop-battery-actions","last_synced_at":"2026-06-14T15:33:02.034Z","repository":{"id":101380203,"uuid":"100073061","full_name":"shalomb/laptop-battery-actions","owner":"shalomb","description":"ACPId actions to better manage battery life.","archived":false,"fork":false,"pushed_at":"2017-08-23T21:01:54.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T20:33:29.136Z","etag":null,"topics":["acpi","acpi-brightness","acpid","battery","battery-level","battery-life","battery-monitor","laptop","laptop-dotfiles","power-saving","xflux"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shalomb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-11T22:02:41.000Z","updated_at":"2019-11-18T19:14:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee01c26f-40ab-4b47-bfe1-9fd07806e28a","html_url":"https://github.com/shalomb/laptop-battery-actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shalomb/laptop-battery-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalomb%2Flaptop-battery-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalomb%2Flaptop-battery-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalomb%2Flaptop-battery-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalomb%2Flaptop-battery-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shalomb","download_url":"https://codeload.github.com/shalomb/laptop-battery-actions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalomb%2Flaptop-battery-actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34326233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["acpi","acpi-brightness","acpid","battery","battery-level","battery-life","battery-monitor","laptop","laptop-dotfiles","power-saving","xflux"],"created_at":"2024-11-11T22:23:14.594Z","updated_at":"2026-06-14T15:33:02.019Z","avatar_url":"https://github.com/shalomb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# laptop-battery-actions\n\nA script that reacts to `acpid` events and does the following\n\n* Set backlight brightness to the battery level - decreasing brightness is a\n  good battery-level indicator and a really dim screen means you ought to plug\n  in sometime soon.\n* Invokes `tlp` and `pm-powersave` powersave configurations when battery is \n  discharging or to optimized otherwise.\n* Hibernates the laptop on a critically low battery level.\n\n## Installation\n\n    sudo -E ./INIT\n\n## Configuration\n\nSee `/etc/default/laptop-battery-actions` for options.\n\nAfter changes to the defaults file, make sure to reload the `acpid` service.\n\n    service acpid restart\n\n## TODO\n\n* React to lid events and suspend to disk (as opposed to RAM) if under some \n  threshold.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshalomb%2Flaptop-battery-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshalomb%2Flaptop-battery-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshalomb%2Flaptop-battery-actions/lists"}