{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10923","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10923/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10923/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10923/events","html_url":"https://github.com/NixOS/nixpkgs/issues/10923","id":115880485,"number":10923,"title":"tlp: No batteries detected.","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-09T13:52:28Z","updated_at":"2015-11-09T14:01:19Z","closed_at":null,"body":"I've installed `serviced.tlp`. Sometimes, after I reboot my computer, the battery disappears from both `tlp stat` and Gnome3.\r\n\r\n```\r\n$ tlp stat\r\n+++ Battery Status\r\nNo batteries detected.\r\n```"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/155069680","html_url":"https://github.com/NixOS/nixpkgs/issues/10923#issuecomment-155069680","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10923","id":155069680,"user":{"login":"abbradar","id":1174810,"avatar_url":"https://avatars.githubusercontent.com/u/1174810?v=3","gravatar_id":"","url":"https://api.github.com/users/abbradar","html_url":"https://github.com/abbradar","followers_url":"https://api.github.com/users/abbradar/followers","following_url":"https://api.github.com/users/abbradar/following{/other_user}","gists_url":"https://api.github.com/users/abbradar/gists{/gist_id}","starred_url":"https://api.github.com/users/abbradar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abbradar/subscriptions","organizations_url":"https://api.github.com/users/abbradar/orgs","repos_url":"https://api.github.com/users/abbradar/repos","events_url":"https://api.github.com/users/abbradar/events{/privacy}","received_events_url":"https://api.github.com/users/abbradar/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T14:01:19Z","updated_at":"2015-11-09T14:01:19Z","body":"Hmm, I *think* this is a hardware/kernel issue but I'm not sure. Let's investigate:\r\n\r\n1. `ls /sys/class/power_supply`, notice anything battery-ish (suppose it's `BAT0`).\r\n2. `cat /sys/class/power_supply/BAT0/energy_now` (to make sure it works).\r\n3. Trigger the bug.\r\n4. Try (2) again.\r\n\r\nIf this works then I suppose it's a bug in TLP *and* Gnome3. If not, it's likely an ACPI issue."}}