{"action":"closed","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10919","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10919/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10919/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10919/events","html_url":"https://github.com/NixOS/nixpkgs/issues/10919","id":115872350,"number":10919,"title":"TLP: Warning: tlp.service is not enabled","user":{"login":"DamienCassou","id":217543,"avatar_url":"https://avatars.githubusercontent.com/u/217543?v=3","gravatar_id":"","url":"https://api.github.com/users/DamienCassou","html_url":"https://github.com/DamienCassou","followers_url":"https://api.github.com/users/DamienCassou/followers","following_url":"https://api.github.com/users/DamienCassou/following{/other_user}","gists_url":"https://api.github.com/users/DamienCassou/gists{/gist_id}","starred_url":"https://api.github.com/users/DamienCassou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamienCassou/subscriptions","organizations_url":"https://api.github.com/users/DamienCassou/orgs","repos_url":"https://api.github.com/users/DamienCassou/repos","events_url":"https://api.github.com/users/DamienCassou/events{/privacy}","received_events_url":"https://api.github.com/users/DamienCassou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20nixos","name":"6.topic: nixos","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-11-09T13:03:12Z","updated_at":"2016-08-27T09:33:14Z","closed_at":"2016-08-27T09:33:14Z","body":"When reading the output of `sudo tlp stat`, I get\r\n\r\n```\r\n[...]\r\n+++ System Status\r\nTLP power save = enabled\r\n***Warning: tlp.service is not enabled -- invoke \"systemctl enable tlp.service\" to correct this!\r\n***Warning: tlp-sleep.service is not enabled -- invoke \"systemctl enable tlp-sleep.service\" to correct this!\r\n```\r\n\r\nBut these services seem active:\r\n\r\n```\r\n$ systemctl status tlp.service\r\n● tlp.service - TLP system startup/shutdown\r\n   Loaded: loaded (/nix/store/2jkb3iacfpvq6pwshd5qlrb224gk0qv1-unit-tlp.service/tlp.service)\r\n   Active: active (exited) since lun. 2015-11-09 09:58:15 ART; 3min 38s ago\r\n  Process: 7401 ExecStart=/nix/store/cdcz9460sqhn35mrw1d68x37y6k4s1wy-tlp-0.8/bin/tlp init start (code=exited, status=0/SUCCESS)\r\n Main PID: 7401 (code=exited, status=0/SUCCESS)\r\n\r\nnov. 09 09:58:15 luz3 systemd[1]: Starting TLP system startup/shutdown...\r\nnov. 09 09:58:15 luz3 tlp[7401]: Loading kernel modules...done.\r\nnov. 09 09:58:15 luz3 tlp[7401]: Applying power save settings...done.\r\nnov. 09 09:58:15 luz3 tlp[7401]: Setting battery charge thresholds...done.\r\nnov. 09 09:58:15 luz3 systemd[1]: Started TLP system startup/shutdown.\r\n```\r\n\r\nMoreover, executing the recommended command does not work:\r\n\r\n```\r\n$ systemctl enable tlp.service\r\nFailed to execute operation: No such file or directory\r\n```\r\n\r\nIn my `configuration.nix`, I activated tlp with\r\n\r\n```\r\n  services = {\r\n    tlp = {\r\n      enable = true;\r\n    };\r\n   [...]\r\n```"}}
{"actor":{"display_login":"abbradar"}}