{"action":"created","issue":{"url":"https://api.github.com/repos/jaagr/lemonbuddy/issues/33","repository_url":"https://api.github.com/repos/jaagr/lemonbuddy","labels_url":"https://api.github.com/repos/jaagr/lemonbuddy/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/jaagr/lemonbuddy/issues/33/comments","events_url":"https://api.github.com/repos/jaagr/lemonbuddy/issues/33/events","html_url":"https://github.com/jaagr/lemonbuddy/issues/33","id":166945395,"number":33,"title":"`format-padding` not working on `internal/battery`","user":{"login":"Marcel-Robitaille","id":8503756,"avatar_url":"https://avatars.githubusercontent.com/u/8503756?v=3","gravatar_id":"","url":"https://api.github.com/users/Marcel-Robitaille","html_url":"https://github.com/Marcel-Robitaille","followers_url":"https://api.github.com/users/Marcel-Robitaille/followers","following_url":"https://api.github.com/users/Marcel-Robitaille/following{/other_user}","gists_url":"https://api.github.com/users/Marcel-Robitaille/gists{/gist_id}","starred_url":"https://api.github.com/users/Marcel-Robitaille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marcel-Robitaille/subscriptions","organizations_url":"https://api.github.com/users/Marcel-Robitaille/orgs","repos_url":"https://api.github.com/users/Marcel-Robitaille/repos","events_url":"https://api.github.com/users/Marcel-Robitaille/events{/privacy}","received_events_url":"https://api.github.com/users/Marcel-Robitaille/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-22T00:13:29Z","updated_at":"2016-07-26T21:01:58Z","closed_at":null,"body":"Here is my code for the `internal/battery` module:\r\n```ini\r\n[module/battery]\r\ntype = internal/battery\r\nformat-padding = 2\r\n\r\n; This is useful in case the battery never reports 100% charge\r\nfull_at = 99\r\n\r\n; Use the following command to list batteries and adapters:\r\n; $ ls -1 /sys/class/power_supply/\r\nbattery = BAT0\r\nadapter = ACAD\r\n\r\nlabel-charging = %percentage%\r\nformat-discharging = <ramp-capacity> <label-discharging>\r\n\r\nramp-capacity-0 = \r\nramp-capacity-1 = \r\nramp-capacity-2 = \r\nramp-capacity-3 = \r\nramp-capacity-4 = \r\n\r\npoll_interval = 5\r\n```\r\n\r\nHowever, the module has no padding. What is the syntax for that module?"},"comment":{"url":"https://api.github.com/repos/jaagr/lemonbuddy/issues/comments/235404313","html_url":"https://github.com/jaagr/lemonbuddy/issues/33#issuecomment-235404313","issue_url":"https://api.github.com/repos/jaagr/lemonbuddy/issues/33","id":235404313,"user":{"login":"jaagr","id":3697186,"avatar_url":"https://avatars.githubusercontent.com/u/3697186?v=3","gravatar_id":"","url":"https://api.github.com/users/jaagr","html_url":"https://github.com/jaagr","followers_url":"https://api.github.com/users/jaagr/followers","following_url":"https://api.github.com/users/jaagr/following{/other_user}","gists_url":"https://api.github.com/users/jaagr/gists{/gist_id}","starred_url":"https://api.github.com/users/jaagr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaagr/subscriptions","organizations_url":"https://api.github.com/users/jaagr/orgs","repos_url":"https://api.github.com/users/jaagr/repos","events_url":"https://api.github.com/users/jaagr/events{/privacy}","received_events_url":"https://api.github.com/users/jaagr/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T21:01:57Z","updated_at":"2016-07-26T21:01:57Z","body":"Hi. When the module has more than one format you have to include the name, which in this case would be `format-discharging-padding`. Please close the issue if it solves your problem."}}
{"actor":{"display_login":"jaagr"}}