{"action":"created","issue":{"url":"https://api.github.com/repos/OpenXT/xctools/issues/13","labels_url":"https://api.github.com/repos/OpenXT/xctools/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/OpenXT/xctools/issues/13/comments","events_url":"https://api.github.com/repos/OpenXT/xctools/issues/13/events","html_url":"https://github.com/OpenXT/xctools/pull/13","id":99723903,"number":13,"title":"[xcpmd] Updates for acpid2, multi-battery support and general code cleanup","user":{"login":"jctemkin","id":2059200,"avatar_url":"https://avatars.githubusercontent.com/u/2059200?v=3","gravatar_id":"","url":"https://api.github.com/users/jctemkin","html_url":"https://github.com/jctemkin","followers_url":"https://api.github.com/users/jctemkin/followers","following_url":"https://api.github.com/users/jctemkin/following{/other_user}","gists_url":"https://api.github.com/users/jctemkin/gists{/gist_id}","starred_url":"https://api.github.com/users/jctemkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jctemkin/subscriptions","organizations_url":"https://api.github.com/users/jctemkin/orgs","repos_url":"https://api.github.com/users/jctemkin/repos","events_url":"https://api.github.com/users/jctemkin/events{/privacy}","received_events_url":"https://api.github.com/users/jctemkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2015-08-07T20:19:20Z","updated_at":"2015-09-02T17:28:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenXT/xctools/pulls/13","html_url":"https://github.com/OpenXT/xctools/pull/13","diff_url":"https://github.com/OpenXT/xctools/pull/13.diff","patch_url":"https://github.com/OpenXT/xctools/pull/13.patch"},"body":"Pursuant to [OXT-342](https://openxt.atlassian.net/browse/OXT-342), here are some changes and improvements for xcpmd, both related to the adoption of acpid2 and otherwise. \r\n* Netlink-related code pruned, since acpid2 forwards netlink messages\r\n* Ability to listen for lid, AC adapter, power/suspend/sleep/brightness buttons, and tablet mode events via acpid\r\n* Battery events now event-driven instead of polling\r\n* A generalized battery interface that supports >2 batteries\r\n* Reorganization of xenstore nodes--battery nodes are now nested under /pm/batX and /pm/events/batX, though old structures are maintained for compatibility\r\n* Safer ACPI event string parsing\r\n* Cleanup of leftover thermal code\r\n* General cleanup of battery code\r\n* General cleanup of prototypes.h"},"comment":{"url":"https://api.github.com/repos/OpenXT/xctools/issues/comments/137179796","html_url":"https://github.com/OpenXT/xctools/pull/13#issuecomment-137179796","issue_url":"https://api.github.com/repos/OpenXT/xctools/issues/13","id":137179796,"user":{"login":"jean-edouard","id":7863904,"avatar_url":"https://avatars.githubusercontent.com/u/7863904?v=3","gravatar_id":"","url":"https://api.github.com/users/jean-edouard","html_url":"https://github.com/jean-edouard","followers_url":"https://api.github.com/users/jean-edouard/followers","following_url":"https://api.github.com/users/jean-edouard/following{/other_user}","gists_url":"https://api.github.com/users/jean-edouard/gists{/gist_id}","starred_url":"https://api.github.com/users/jean-edouard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean-edouard/subscriptions","organizations_url":"https://api.github.com/users/jean-edouard/orgs","repos_url":"https://api.github.com/users/jean-edouard/repos","events_url":"https://api.github.com/users/jean-edouard/events{/privacy}","received_events_url":"https://api.github.com/users/jean-edouard/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T17:28:29Z","updated_at":"2015-09-02T17:28:29Z","body":"I think this is ready to be merged. I will do so later today."}}