{"action":"created","issue":{"url":"https://api.github.com/repos/maelstrom2001/ArcticFox/issues/32","repository_url":"https://api.github.com/repos/maelstrom2001/ArcticFox","labels_url":"https://api.github.com/repos/maelstrom2001/ArcticFox/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/maelstrom2001/ArcticFox/issues/32/comments","events_url":"https://api.github.com/repos/maelstrom2001/ArcticFox/issues/32/events","html_url":"https://github.com/maelstrom2001/ArcticFox/issues/32","id":199383674,"number":32,"title":"request: function to limit max battery drain","user":{"login":"HansWu123","id":24979908,"avatar_url":"https://avatars0.githubusercontent.com/u/24979908?v=3","gravatar_id":"","url":"https://api.github.com/users/HansWu123","html_url":"https://github.com/HansWu123","followers_url":"https://api.github.com/users/HansWu123/followers","following_url":"https://api.github.com/users/HansWu123/following{/other_user}","gists_url":"https://api.github.com/users/HansWu123/gists{/gist_id}","starred_url":"https://api.github.com/users/HansWu123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansWu123/subscriptions","organizations_url":"https://api.github.com/users/HansWu123/orgs","repos_url":"https://api.github.com/users/HansWu123/repos","events_url":"https://api.github.com/users/HansWu123/events{/privacy}","received_events_url":"https://api.github.com/users/HansWu123/received_events","type":"User","site_admin":false},"labels":[{"id":520073258,"url":"https://api.github.com/repos/maelstrom2001/ArcticFox/labels/Questionable%20Feature","name":"Questionable Feature","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-01-07T20:37:30Z","updated_at":"2017-04-09T09:21:15Z","closed_at":null,"body":"Hi,\r\n\r\ncould you add a function to limit/set max ampere drain, so that you can set it according to the type of battery you are using?\r\n\r\nreason: to account for the worst case scenario during regular mod use\r\n->almost empty batteries, device (accidentally, maybe drunk) set to max output (e.g. 75W), and (accidentally, maybe its in a pocket) constantly on/off firing the device\r\n\r\nExample with a pico:\r\nI_batt = 1,20 * P / (n * 3)\r\n\r\nI_batt  = current drawn\r\nP = wattage setting\r\nn = number of batteries\r\n3 = cut off voltage\r\n1,20 = 20% loss, accounting for mod efficiency not beeing 100%\r\n\r\nworst case:\r\nI_batt = 1,2 * 75W / 3V = 30A\r\n\r\nThis means you should always use a 30A battery.\r\nBut most people dont, because eg. Sony VTC5A has with 2600mAh less capacity in comparison to e.g. HG2 with 3000mAh, or 30Q etc...or simply because they dont know what they should use.\r\nAlso information is conflicting, people think VTC6 is fit for 30A but in fact its only in conjunction with a 80°C safety temperature cut off according to the specs. \r\n\r\nIt would be very cool if you could set an ampere limit, e.g. select HG2 in the profile as used battery type and then have the FW lock the device to 20A/ 50W.\r\n\r\nWhat do you think?\r\nI know its not a very likely scenario, but it could happen without tinkering with your device and batteries like these going south can be quite catastrophic.\r\ncheers\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/maelstrom2001/ArcticFox/issues/comments/292774462","html_url":"https://github.com/maelstrom2001/ArcticFox/issues/32#issuecomment-292774462","issue_url":"https://api.github.com/repos/maelstrom2001/ArcticFox/issues/32","id":292774462,"user":{"login":"sala91","id":143785,"avatar_url":"https://avatars2.githubusercontent.com/u/143785?v=3","gravatar_id":"","url":"https://api.github.com/users/sala91","html_url":"https://github.com/sala91","followers_url":"https://api.github.com/users/sala91/followers","following_url":"https://api.github.com/users/sala91/following{/other_user}","gists_url":"https://api.github.com/users/sala91/gists{/gist_id}","starred_url":"https://api.github.com/users/sala91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sala91/subscriptions","organizations_url":"https://api.github.com/users/sala91/orgs","repos_url":"https://api.github.com/users/sala91/repos","events_url":"https://api.github.com/users/sala91/events{/privacy}","received_events_url":"https://api.github.com/users/sala91/received_events","type":"User","site_admin":false},"created_at":"2017-04-09T09:21:15Z","updated_at":"2017-04-09T09:21:15Z","body":"Would this not be easier to just cut of at battery safe voltage and display lower wattages or charge batteries?"}}
{"actor":{"display_login":"sala91"}}