{"action":"created","issue":{"url":"https://api.github.com/repos/mate-desktop/mate-power-manager/issues/134","labels_url":"https://api.github.com/repos/mate-desktop/mate-power-manager/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/mate-desktop/mate-power-manager/issues/134/comments","events_url":"https://api.github.com/repos/mate-desktop/mate-power-manager/issues/134/events","html_url":"https://github.com/mate-desktop/mate-power-manager/issues/134","id":61289792,"number":134,"title":"Hot-swapping a battery means both batteries are seen to be 'present' in the power manager","user":{"login":"rathboma","id":279769,"avatar_url":"https://avatars.githubusercontent.com/u/279769?v=3","gravatar_id":"","url":"https://api.github.com/users/rathboma","html_url":"https://github.com/rathboma","followers_url":"https://api.github.com/users/rathboma/followers","following_url":"https://api.github.com/users/rathboma/following{/other_user}","gists_url":"https://api.github.com/users/rathboma/gists{/gist_id}","starred_url":"https://api.github.com/users/rathboma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rathboma/subscriptions","organizations_url":"https://api.github.com/users/rathboma/orgs","repos_url":"https://api.github.com/users/rathboma/repos","events_url":"https://api.github.com/users/rathboma/events{/privacy}","received_events_url":"https://api.github.com/users/rathboma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-13T22:54:16Z","updated_at":"2015-05-20T18:03:35Z","closed_at":null,"body":"New Lenovo laptops (I have the T440s) have both an internal battery, and a hot-swappable external battery.\r\n\r\nIf you hot-swap the external battery the Mate power manager still thinks the old one is attached to the system, but is at 0%.\r\n\r\nThis leads to some weird behavior.\r\n\r\nFor example, your total battery life is calculated to be `internal + external1 + external2` instead of `internal + external2`. This causes the system to shut down too early and causes battery life estimates to be wrong."},"comment":{"url":"https://api.github.com/repos/mate-desktop/mate-power-manager/issues/comments/103976060","html_url":"https://github.com/mate-desktop/mate-power-manager/issues/134#issuecomment-103976060","issue_url":"https://api.github.com/repos/mate-desktop/mate-power-manager/issues/134","id":103976060,"user":{"login":"NiceandGently","id":961604,"avatar_url":"https://avatars.githubusercontent.com/u/961604?v=3","gravatar_id":"","url":"https://api.github.com/users/NiceandGently","html_url":"https://github.com/NiceandGently","followers_url":"https://api.github.com/users/NiceandGently/followers","following_url":"https://api.github.com/users/NiceandGently/following{/other_user}","gists_url":"https://api.github.com/users/NiceandGently/gists{/gist_id}","starred_url":"https://api.github.com/users/NiceandGently/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiceandGently/subscriptions","organizations_url":"https://api.github.com/users/NiceandGently/orgs","repos_url":"https://api.github.com/users/NiceandGently/repos","events_url":"https://api.github.com/users/NiceandGently/events{/privacy}","received_events_url":"https://api.github.com/users/NiceandGently/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T18:03:35Z","updated_at":"2015-05-20T18:03:35Z","body":"@rathboma \r\nDoes this work with gnome?\r\nAnd does your distro use systemd-login or upower?"}}