{"action":"closed","issue":{"url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/27","repository_url":"https://api.github.com/repos/tmux-plugins/tmux-battery","labels_url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/27/comments","events_url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/27/events","html_url":"https://github.com/tmux-plugins/tmux-battery/issues/27","id":168445222,"number":27,"title":"Battery icon usage inconsistent","user":{"login":"adrianluff","id":7537168,"avatar_url":"https://avatars.githubusercontent.com/u/7537168?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianluff","html_url":"https://github.com/adrianluff","followers_url":"https://api.github.com/users/adrianluff/followers","following_url":"https://api.github.com/users/adrianluff/following{/other_user}","gists_url":"https://api.github.com/users/adrianluff/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianluff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianluff/subscriptions","organizations_url":"https://api.github.com/users/adrianluff/orgs","repos_url":"https://api.github.com/users/adrianluff/repos","events_url":"https://api.github.com/users/adrianluff/events{/privacy}","received_events_url":"https://api.github.com/users/adrianluff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tmux-plugins/tmux-battery/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-30T02:56:30Z","updated_at":"2016-09-29T08:34:10Z","closed_at":"2016-09-29T08:34:10Z","body":"Using the following config:\r\n```\r\n#tmux.conf\r\nset -g @batt_charged_icon \"🔋\"\r\nset -g @batt_charging_icon \"🔺\"\r\nset -g @batt_discharging_icon \"🔻\"\r\nset -g @batt_attached_icon \"🔌\"\r\nset -ga status-right #{battery_percentage}#{battery_icon}  #{battery_remain}\r\n```\r\n# Power and icon states observed\r\nBattery full: 🔋\r\nBattery charging: 🔺\r\nBattery discharging: 🔻\r\nPlug attached: <state never used?>\r\n\r\nPerhaps I'm misunderstanding the states? At full power you are either attached or have a full battery (for a few minutes anyway!). The attached icon would be used when the battery is full and the power adapter is connected. This doesn't seem to be the case however.\r\n\r\nAlternatively the attached state (plug or battery) could optionally be a separate icon from the charging/discharging status indicator."}}
{"actor":{"display_login":"martinbeentjes"}}