{"action":"created","issue":{"url":"https://api.github.com/repos/linrunner/TLP/issues/321","repository_url":"https://api.github.com/repos/linrunner/TLP","labels_url":"https://api.github.com/repos/linrunner/TLP/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/linrunner/TLP/issues/321/comments","events_url":"https://api.github.com/repos/linrunner/TLP/issues/321/events","html_url":"https://github.com/linrunner/TLP/issues/321","id":295636882,"number":321,"title":"RFC: use upcoming kernel interface for battery threshold configuration","user":{"login":"t-8ch","id":717901,"avatar_url":"https://avatars3.githubusercontent.com/u/717901?v=4","gravatar_id":"","url":"https://api.github.com/users/t-8ch","html_url":"https://github.com/t-8ch","followers_url":"https://api.github.com/users/t-8ch/followers","following_url":"https://api.github.com/users/t-8ch/following{/other_user}","gists_url":"https://api.github.com/users/t-8ch/gists{/gist_id}","starred_url":"https://api.github.com/users/t-8ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-8ch/subscriptions","organizations_url":"https://api.github.com/users/t-8ch/orgs","repos_url":"https://api.github.com/users/t-8ch/repos","events_url":"https://api.github.com/users/t-8ch/events{/privacy}","received_events_url":"https://api.github.com/users/t-8ch/received_events","type":"User","site_admin":false},"labels":[{"id":57940724,"url":"https://api.github.com/repos/linrunner/TLP/labels/feature%20request","name":"feature request","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-02-08T19:29:31Z","updated_at":"2018-02-10T08:46:08Z","closed_at":null,"author_association":"NONE","body":"The upcoming 4.17 kernel (maybe even 4.16) will contain a new in-kernel API to expose information and controls like the battery threshold to userspace. [0]\r\nIt also comes with a reference implementation for new thinkpads (using the same logic as tpacpi-bat)\r\n\r\nThis could be used by TLP to replace tpacpi-bat.\r\n(Maybe even a driver for the batteries supported by tp_smapi emerges)\r\n\r\nI am willing to contribute a driver.\r\nShould the driver be in addition to tpacpi-bat or will one implementation be enough?\r\n(If the new logic in TLP is released after the kernel there shouldn't be a problem with dropping support for tpacpi-bat)\r\n\r\n[0] https://patchwork.kernel.org/patch/10205339/\r\n[1] https://patchwork.kernel.org/patch/10205347/\r\n[2] https://patchwork.kernel.org/patch/10205353/\r\n[3] https://patchwork.kernel.org/patch/10205359/"},"comment":{"url":"https://api.github.com/repos/linrunner/TLP/issues/comments/364636628","html_url":"https://github.com/linrunner/TLP/issues/321#issuecomment-364636628","issue_url":"https://api.github.com/repos/linrunner/TLP/issues/321","id":364636628,"user":{"login":"smclt30p","id":13964795,"avatar_url":"https://avatars2.githubusercontent.com/u/13964795?v=4","gravatar_id":"","url":"https://api.github.com/users/smclt30p","html_url":"https://github.com/smclt30p","followers_url":"https://api.github.com/users/smclt30p/followers","following_url":"https://api.github.com/users/smclt30p/following{/other_user}","gists_url":"https://api.github.com/users/smclt30p/gists{/gist_id}","starred_url":"https://api.github.com/users/smclt30p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smclt30p/subscriptions","organizations_url":"https://api.github.com/users/smclt30p/orgs","repos_url":"https://api.github.com/users/smclt30p/repos","events_url":"https://api.github.com/users/smclt30p/events{/privacy}","received_events_url":"https://api.github.com/users/smclt30p/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T08:46:08Z","updated_at":"2018-02-10T08:46:08Z","author_association":"NONE","body":"On Sat, Feb 10, 2018 at 06:45:09AM +0000, Thomas Weißschuh wrote:\n> @smclt30p  Great! Thanks for your work.\n> Does your source of official documentation by any chance include hardware errata?\n\nNo its only ACPI Battery stuff. \nShoot an email to Peter FP1 Zhang <zhangfp1@lenovo.com> and he maybe will assist you guys.\n\n> (Asking [for a friend](https://bugzilla.kernel.org/show_bug.cgi?id=198019) ...)\n> Sorry for being offtopic.\n> \n> -- \n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub:\n> https://github.com/linrunner/TLP/issues/321#issuecomment-364630924\n"}}
{"actor":{"display_login":"smclt30p"}}