{"action":"created","issue":{"url":"https://api.github.com/repos/sfumato77/Kernel-4.8_Android-x86_BayTrail/issues/1","repository_url":"https://api.github.com/repos/sfumato77/Kernel-4.8_Android-x86_BayTrail","labels_url":"https://api.github.com/repos/sfumato77/Kernel-4.8_Android-x86_BayTrail/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sfumato77/Kernel-4.8_Android-x86_BayTrail/issues/1/comments","events_url":"https://api.github.com/repos/sfumato77/Kernel-4.8_Android-x86_BayTrail/issues/1/events","html_url":"https://github.com/sfumato77/Kernel-4.8_Android-x86_BayTrail/issues/1","id":191140872,"number":1,"title":"I need to know axp288 on Android healthd progress","user":{"login":"youling257","id":16304724,"avatar_url":"https://avatars.githubusercontent.com/u/16304724?v=3","gravatar_id":"","url":"https://api.github.com/users/youling257","html_url":"https://github.com/youling257","followers_url":"https://api.github.com/users/youling257/followers","following_url":"https://api.github.com/users/youling257/following{/other_user}","gists_url":"https://api.github.com/users/youling257/gists{/gist_id}","starred_url":"https://api.github.com/users/youling257/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youling257/subscriptions","organizations_url":"https://api.github.com/users/youling257/orgs","repos_url":"https://api.github.com/users/youling257/repos","events_url":"https://api.github.com/users/youling257/events{/privacy}","received_events_url":"https://api.github.com/users/youling257/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-11-22T22:23:26Z","updated_at":"2016-11-23T14:28:54Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/sfumato77/Kernel-4.8_Android-x86_BayTrail/issues/comments/262526712","html_url":"https://github.com/sfumato77/Kernel-4.8_Android-x86_BayTrail/issues/1#issuecomment-262526712","issue_url":"https://api.github.com/repos/sfumato77/Kernel-4.8_Android-x86_BayTrail/issues/1","id":262526712,"user":{"login":"sfumato77","id":4080668,"avatar_url":"https://avatars.githubusercontent.com/u/4080668?v=3","gravatar_id":"","url":"https://api.github.com/users/sfumato77","html_url":"https://github.com/sfumato77","followers_url":"https://api.github.com/users/sfumato77/followers","following_url":"https://api.github.com/users/sfumato77/following{/other_user}","gists_url":"https://api.github.com/users/sfumato77/gists{/gist_id}","starred_url":"https://api.github.com/users/sfumato77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfumato77/subscriptions","organizations_url":"https://api.github.com/users/sfumato77/orgs","repos_url":"https://api.github.com/users/sfumato77/repos","events_url":"https://api.github.com/users/sfumato77/events{/privacy}","received_events_url":"https://api.github.com/users/sfumato77/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T14:28:54Z","updated_at":"2016-11-23T14:28:54Z","body":"if you use the axp288_fuel_gauge.c.\r\ntry to remove the \"**/2**\" that I had to add to suit my esigenze.forse's the problem ...\r\n\r\ntro is here:\r\n\r\n\r\ncase POWER_SUPPLY_PROP_CHARGE_NOW:\r\n\t\tret = fuel_gauge_reg_readb(info, AXP288_FG_CC_MTR1_REG);\r\n\t\tif (ret < 0)\r\n\t\t\tgoto fuel_gauge_read_err;\r\n\r\n\t\tvalue = (ret & FG_CC_MTR1_VAL_MASK) << 8;\r\n\t\tret = fuel_gauge_reg_readb(info, AXP288_FG_CC_MTR0_REG);\r\n\t\tif (ret < 0)\r\n\t\t\tgoto fuel_gauge_read_err;\r\n\t\tvalue |= (ret & FG_CC_MTR0_VAL_MASK);\r\n\t\tval->intval = value * FG_DES_CAP_RES_LSB /2;  <-----------here\r\n\t\tbreak;\r\n \tcase POWER_SUPPLY_PROP_CHARGE_FULL:\r\n\t\tret = fuel_gauge_reg_readb(info, AXP288_FG_DES_CAP1_REG);\r\n\t\tif (ret < 0)\r\n\t\t\tgoto fuel_gauge_read_err;\r\n\r\n\t\tvalue = (ret & FG_DES_CAP1_VAL_MASK) << 8;\r\n\t\tret = fuel_gauge_reg_readb(info, AXP288_FG_DES_CAP0_REG);\r\n\t\tif (ret < 0)\r\n\t\t\tgoto fuel_gauge_read_err;\r\n\t\tvalue |= (ret & FG_DES_CAP0_VAL_MASK);\r\n\t\tval->intval = value * FG_DES_CAP_RES_LSB  /2; <---------here\r\nbreak;"}}
{"actor":{"display_login":"sfumato77"}}