{"id":21106814,"url":"https://github.com/magisk-modules-repo/acc","last_synced_at":"2025-04-06T04:14:57.805Z","repository":{"id":38454867,"uuid":"186113064","full_name":"Magisk-Modules-Repo/acc","owner":"Magisk-Modules-Repo","description":"Upstream repo: ","archived":false,"fork":false,"pushed_at":"2023-10-16T19:44:27.000Z","size":1853,"stargazers_count":334,"open_issues_count":1,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-30T03:07:23.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/VR-25/acc","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Magisk-Modules-Repo.png","metadata":{"files":{"readme":"README.html","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"VR25","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"VR25","issuehunt":null,"otechie":null,"custom":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=iprj25@gmail.com\u0026lc=US\u0026item_name=VR25+is+creating+free+and+open+source+software.+Donate+to+suppport+their+work.\u0026no_note=0\u0026cn=\u0026currency_code=USD\u0026bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted"}},"created_at":"2019-05-11T09:27:39.000Z","updated_at":"2025-03-27T17:36:24.000Z","dependencies_parsed_at":"2024-11-20T00:40:07.026Z","dependency_job_id":null,"html_url":"https://github.com/Magisk-Modules-Repo/acc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magisk-Modules-Repo%2Facc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magisk-Modules-Repo%2Facc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magisk-Modules-Repo%2Facc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magisk-Modules-Repo%2Facc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Magisk-Modules-Repo","download_url":"https://codeload.github.com/Magisk-Modules-Repo/acc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430963,"owners_count":20937875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T00:29:23.219Z","updated_at":"2025-04-06T04:14:57.760Z","avatar_url":"https://github.com/Magisk-Modules-Repo.png","language":"Shell","funding_links":["https://patreon.com/VR25","https://liberapay.com/VR25","https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=iprj25@gmail.com\u0026lc=US\u0026item_name=VR25+is+creating+free+and+open+source+software.+Donate+to+suppport+their+work.\u0026no_note=0\u0026cn=\u0026currency_code=USD\u0026bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted"],"categories":[],"sub_categories":[],"readme":"\u003c!DOCTYPE html\u003e\u003chtml\u003e\u003chead\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\u003cstyle\u003ebody {\n  max-width: 980px;\n  margin: 16px auto;\n}\n\nbody .markdown-body\n{\n  padding: 45px;\n}\n\n@font-face {\n  font-family: fontawesome-mini;\n  src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAABE0AA8AAAAAHWwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzIAAAGUAAAAQwAAAFY3d1HZY21hcAAAAdgAAACqAAACOvWLi0FjdnQgAAAChAAAABMAAAAgBtX/BGZwZ20AAAKYAAAFkAAAC3CKkZBZZ2FzcAAACCgAAAAIAAAACAAAABBnbHlmAAAIMAAABdQAAAjkYT9TNWhlYWQAAA4EAAAAMwAAADYQ6WvNaGhlYQAADjgAAAAfAAAAJAc6A1pobXR4AAAOWAAAACAAAAA0Kmz/7mxvY2EAAA54AAAAHAAAABwQPBJubWF4cAAADpQAAAAgAAAAIAEHC/NuYW1lAAAOtAAAAYQAAALxhQT4h3Bvc3QAABA4AAAAfgAAAMS3SYh9cHJlcAAAELgAAAB6AAAAhuVBK7x4nGNgZGBg4GIwYLBjYHJx8wlh4MtJLMljkGJgYYAAkDwymzEnMz2RgQPGA8qxgGkOIGaDiAIAJjsFSAB4nGNgZHZmnMDAysDAVMW0h4GBoQdCMz5gMGRkAooysDIzYAUBaa4pDA4Pwz+yMwf9z2KIYg5imAYUZgTJAQDcoQvQAHic7ZHNDYJAFIRnBXf94cDRIiyCKkCpwFCPJ092RcKNDoYKcN4+EmMPvpdvk539zQyAPYBCXEUJhBcCrJ5SQ9YLnLJe4qF5rdb+uWPDngNHTkta101pNyWa8lMhn6xx2dqUnW4q9YOIhAOOeueMSgsR/6ry+P7O5s6xVNg4chBsHUuFnWNJ8uZYwrw7chrsHXkODo7cB0dHOYCTY8kv0VE2WJKD6gOlWjsxAAB4nGNgQAMSEMgc9D8LhAESbAPdAHicrVZpd9NGFB15SZyELCULLWphxMRpsEYmbMGACUGyYyBdnK2VoIsUO+m+8Ynf4F/zZNpz6Dd+Wu8bLySQtOdwmpOjd+fN1czbZRJaktgL65GUmy/F1NYmjew8CemGTctRfCg7eyFlisnfBVEQrZbatx2HREQiULWusEQQ+x5ZmmR86FFGy7akV03KLT3pLlvjQb1V334aOsqxO6GkZjN0aD2yJVUYVaJIpj1S0qZlqPorSSu8v8LMV81QwohOImm8GcbQSN4bZ7TKaDW24yiKbLLcKFIkmuFBFHmU1RLn5IoJDMoHzZDyyqcR5cP8iKzYo5xWsEu20/y+L3mndzk/sV9vUbbkQB/Ijuzg7HQlX4RbW2HctJPtKFQRdtd3QmzZ7FT/Zo/ymkYDtysyvdCMYKl8hRArP6HM/iFZLZxP+ZJHo1qykRNB62VO7Es+gdbjiClxzRhZ0N3RCRHU/ZIzDPaYPh788d4plgsTAngcy3pHJZwIEylhczRJ2jByYCVliyqp9a6YOOV1WsRbwn7t2tGXzmjjUHdiPFsPHVs5UcnxaFKnmUyd2knNoykNopR0JnjMrwMoP6JJXm1jNYmVR9M4ZsaERCICLdxLU0EsO7GkKQTNoxm9uRumuXYtWqTJA/Xco/f05la4udNT2g70s0Z/VqdiOtgL0+lp5C/xadrlIkXp+ukZfkziQdYCMpEtNsOUgwdv/Q7Sy9eWHIXXBtju7fMrqH3WRPCkAfsb0B5P1SkJTIWYVYhWQGKta1mWydWsFqnI1HdDmla+rNMEinIcF8e+jHH9XzMzlpgSvt+J07MjLj1z7UsI0xx8m3U9mtepxXIBcWZ5TqdZlu/rNMfyA53mWZ7X6QhLW6ejLD/UaYHlRzodY3lBC5p038GQizDkAg6QMISlA0NYXoIhLBUMYbkIQ1gWYQjLJRjC8mMYwnIZhrC8rGXV1FNJ49qZWAZsQmBijh65zEXlaiq5VEK7aFRqQ54SbpVUFM+qf2WgXjzyhjmwFkiXyJpfMc6Vj0bl+NYVLW8aO1fAsepvH472OfFS1ouFPwX/1dZUJb1izcOTq/Abhp5sJ6o2qXh0TZfPVT26/l9UVFgL9BtIhVgoyrJscGcihI86nYZqoJVDzGzMPLTrdcuan8P9NzFCFlD9+DcUGgvcg05ZSVnt4KzV19uy3DuDcjgTLEkxN/P6VvgiI7PSfpFZyp6PfB5wBYxKZdhqA60VvNknMQ+Z3iTPBHFbUTZI2tjOBIkNHPOAefOdBCZh6qoN5E7hhg34BWFuwXknXKJ6oyyH7kXs8yik/Fun4kT2qGiMwLPZG2Gv70LKb3EMJDT5pX4MVBWhqRg1FdA0Um6oBl/G2bptQsYO9CMqdsOyrOLDxxb3lZJtGYR8pIjVo6Of1l6iTqrcfmYUl++dvgXBIDUxf3vfdHGQyrtayTJHbQNTtxqVU9eaQ+NVh+rmUfW94+wTOWuabronHnpf06rbwcVcLLD2bQ7SUiYX1PVhhQ2iy8WlUOplNEnvuAcYFhjQ71CKjf+r+th8nitVhdFxJN9O1LfR52AM/A/Yf0f1A9D3Y+hyDS7P95oTn2704WyZrqIX66foNzBrrblZugbc0HQD4iFHrY64yg18pwZxeqS5HOkh4GPdFeIBwCaAxeAT3bWM5lMAo/mMOT7A58xh0GQOgy3mMNhmzhrADnMY7DKHwR5zGHzBnHWAL5nDIGQOg4g5DJ4wJwB4yhwGXzGHwdfMYfANc+4DfMscBjFzGCTMYbCv6dYwzC1e0F2gtkFVoANTT1jcw+JQU2XI/o4Xhv29Qcz+wSCm/qjp9pD6Ey8M9WeDmPqLQUz9VdOdIfU3Xhjq7wYx9Q+DmPpMvxjLZQa/jHyXCgeUXWw+5++J9w/bxUC5AAEAAf//AA94nIVVX2hbZRQ/5/t7893s5ja9f7ouzdZ0TTqz3bRJmogbWya6bG6Cq0VbSV2ddIJjFtfIQHEig80Hda8yUN/0YQz8AyriiyD+xQd92R4HCnaCb3samnpumrpsCsLlfPf7zvedc37nL3CAtc/5W/wQZGA3tOBSY/g+TMjHmwzEoM1Q8+ZjRZY4oJhmBw5/YB6Za0yC5AkhlwA1A1yCBIBOwCII0Cj0U8BAMdUCzq05sKwkP7SlUY6fcJk4Fb/RyE79/6P5hjM/F4aZiXBoeMgzcqQ4Xi1hPqfDLG5FT+lchCVU3lYMyvuwhl1mqndQL0RsuloLywHtthLXI06OblTrhfWVnpSJ5+mwu/JdbtuN3IAnkW0LLMcRwaC7ktrlzridM6kVdyf9uO1UNBByI7JhwtG2sEwab07ORBeilWhqavJCqV0qzZTOl/7ZXQ5TbTcdcFelyGhhRDAQpdqp1FEX3w3cFTc1k9pJQkmm4ySCbSikxRP2QOfN+0tHS5MrpQuTU1Mk5nw0E5Xa0WvrOwDyGax9yB9ma6DAg82wHc43SAGTI4GjBWebOePAERFE8/AHaQpZASSTy8A4WwZiLQMQ82mFKATO0ILicRAoDm9p5P99E5b/fXG+kQYY3TYUuqmERWYoT0u/GNYL2q/4WB3LaVS+VynXsVYIcWw6DkCh3nX1D+VzlYN4LClF5yexSQos8exqZ3KVP+wtrC54u4Nznq6cq+xpMpUUnZ8FUYzE86ud0g28NOIv3Gj5/rmA3ABs7S/ywzFuQ4qyd6QxfNtiQIaEgp3w/entQg4Vcbqa16M5FfpeUB8t1+qeg7mI7cUyOe79wOk86gSxkVec4KPTX69++5x68Yubn5/F+w52z7u08sJX7fZXv8ekT/d2mILJxq6sn+SC6qEJknzLJCxyZEKwWVqYmAPBxBE/9DLeZiWHu7lcr/VytrCRuHojncNuTt9h46tmacmYisnSamdN2bZptcsmSysdVsy1PrOvOzF3xN64Rb937t/og9KHxYdcjIUqFAmIAHGHNzlns+RTPgeUYAQm9DwpNxfxbhhBHPaw3/gfTcXO2L+eJVIx5nsyGkvm9X4/f+bGkH45G0PaSjcMXTjcZyTvi3UdHoCDjQd3IDUVsgwYmUoJK/gp4JJxeRI0MKHZIkgynyIBqBTOUs6rOVCojvjZ4mCQz49ZMlMcp8QoYk6NoBfsxnJtsBohpa8iGJS+ZH7gU7NxME6cmF+t7cO9vB8d3jTWSct0ycW9ranXmolNDwmVkNnxe+8JtoztwS5rKJ0xWS95tQ/1zMYzg69MzUZnNtl1ofNbsml/OJm6f9wjRjpnu2o4MzHzn77IQkRd+1DjwMQ2pqSjGMMhyjrgTbBAKksuUm0iU7hI0aN2wOKOq7WYBSH0HGihj/jkiPxAfmwsEbfYrjMG+j3ij932Db/LV7I/xruNrhnroxjR9HRMb2nTvO0ZXOoHPk8H2ZhDPx93qcE/53sH5np/dkIP7zzhTVKdR/BAY/9ElkkR+A6lJGsqpJ4oQcTxpvBT3Kn58VkaJjgHyPEIws57xkaHh9KuVpDEpJZeMbZ5w/zBHi5NMQ4r5VphsFqID7TyB9eR4pX216c3AHxpdAwoqU9qg0ZJ6yVLKmMSz1iG2z27ifx18NkY0LPx1W/wCc2l5LrznrIsiKsqbmB78A9wIGx4tI8rjihVHJyY9pgMirenVq0yWg7Iw7eogG7ZgYM3qR9959A/fZkg6MnD/exlkmc+jWV4SB15XUR+eqC6l6ZmgPtN9z5JMfik05OV8ljylunJ4J+wA/FUaQSSKotsYsCWqaPBidBLcxkWx7XKFRIb45TGaEhjlF9uUVPqXOtcIwsXbBvfoZXIyRYFdkfnqjExH98xpnPczqzjX/uNdO1Y17Wpi5+6Ts8BXtjVFasp9KZ1mOiNbH65c5w6HgmyF2jFCZywM8mWjRc7T5Pmt0lRy7Y71+jYbpGyvwG4sH0XeJxjYGRgYADiwBB/53h+m68M3MwvgCIM1z5N/g6j///9v5H5BbMnkMvBwAQSBQCIcA9gAHicY2BkYGAO+p8FJF/8//v/F/MLBqAICuAFALYQB5kAeJxjfsHAwLwAiCNB+P9fbJjJmoGBMRUo/wKCAfO2EnQAAAAAANoBXgGcAgICVALaA1IDvAPkBAYEPARyAAEAAAANAF0ABAAAAAAAAgAUACQAcwAAAG4LcAAAAAB4nHWRzWrCQBSFT+pPqUIXLXTTzayKUohGKIibCoLuhbrrYtTRxCYZmYyKyz5Fd32HvlDfoO/QkziIFJtw9bvnnpl7ZwLgBt/wcHieGAf2UGd24Atcou+4RH3kuEweO66QXx1XyaHjGh6ROa7jFp/cwStfMVvhy7GHO+/e8QWuvcBxifqz4zL5xXGF/Oa4Sn53XMPE+3Bcx4P3M9DrvYmWoRWNQVN02kFXTPdCU4pSGQu5saE2meiLhU6timPtz3SSs9ypTCdqrJabWJoT5QQnymSRTkXgt0/UkUqVkVbN807ZdtmxdiEWRidi6HqItdErNbN+aO2612qd9sYAGmvsYRBhyUu0EGhQbfK/gzYCdElTOgSdB1eEFBIxFYkNV4RFJWPeZyyYpVQVHTHZx4y/yVGX2LGWFZri51TccUOn5B7nPefVCSPvGhVVwUl9znveO2KkhV8Wk82PZ8qwZf8OVcu1+fSmWCMw/HMOwXvKaysqM+p+cVuWag8tvv+c+xdd+4+teJxtjUEOwiAURJla24KliQfhUA2g/Sl+CKXx+loNrpzVezOLEY34Ron/0WhwQoszOvQYIKFwwQiNSbSBeO2SZ0tBP4j3zVjKNng32ZmtD1VVXCuOiw/pJ8S3WOU6l+K5UOTaDC4+2TjKMtN9KQf1ezLx/Sg/00FCvABHhjDjAAB4nGPw3sFwIihiIyNjX+QGxp0cDBwMyQUbGVidNjEwMmiBGJu5mBg5ICw+BjCLzWkX0wGgNCeQze60i8EBwmZmcNmowtgRGLHBoSNiI3OKy0Y1EG8XRwMDI4tDR3JIBEhJJBBs5mFi5NHawfi/dQNL70YmBhcADHYj9AAA) format('woff');\n}\n\n.markdown-body {\n  font-family: sans-serif;\n  -ms-text-size-adjust: 100%;\n  -webkit-text-size-adjust: 100%;\n  color: #333333;\n  overflow: hidden;\n  font-family: \"Helvetica Neue\", Helvetica, \"Segoe UI\", Arial, freesans, sans-serif;\n  font-size: 16px;\n  line-height: 1.6;\n  word-wrap: break-word;\n}\n\n.markdown-body a {\n  background: transparent;\n}\n\n.markdown-body a:active,\n.markdown-body a:hover {\n  outline: 0;\n}\n\n.markdown-body b,\n.markdown-body strong {\n  font-weight: bold;\n}\n\n.markdown-body mark {\n  background: #ff0;\n  color: #000;\n  font-style: italic;\n  font-weight: bold;\n}\n\n.markdown-body sub,\n.markdown-body sup {\n  font-size: 75%;\n  line-height: 0;\n  position: relative;\n  vertical-align: baseline;\n}\n.markdown-body sup {\n  top: -0.5em;\n}\n.markdown-body sub {\n  bottom: -0.25em;\n}\n\n.markdown-body h1 {\n  font-size: 2em;\n  margin: 0.67em 0;\n}\n\n.markdown-body img {\n  border: 0;\n}\n\n.markdown-body hr {\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n  height: 0;\n}\n\n.markdown-body pre {\n  overflow: auto;\n}\n\n.markdown-body code,\n.markdown-body kbd,\n.markdown-body pre,\n.markdown-body samp {\n  font-family: monospace, monospace;\n  font-size: 1em;\n}\n\n.markdown-body input {\n  color: inherit;\n  font: inherit;\n  margin: 0;\n}\n\n.markdown-body html input[disabled] {\n  cursor: default;\n}\n\n.markdown-body input {\n  line-height: normal;\n}\n\n.markdown-body input[type=\"checkbox\"] {\n  box-sizing: border-box;\n  padding: 0;\n}\n\n.markdown-body table {\n  border-collapse: collapse;\n  border-spacing: 0;\n}\n\n.markdown-body td,\n.markdown-body th {\n  padding: 0;\n}\n\n.markdown-body .codehilitetable,\n.markdown-body .highlighttable {\n  border: 0;\n  border-spacing: 0;\n}\n\n.markdown-body .codehilitetable tr,\n.markdown-body .highlighttable {\n  border: 0;\n}\n\n.markdown-body .codehilitetable pre,\n.markdown-body .codehilitetable div.codehilite,\n.markdown-body .highlighttable pre,\n.markdown-body .highlighttable div.highlight {\n  margin: 0;\n}\n\n.markdown-body .linenos,\n.markdown-body .code,\n.markdown-body .codehilitetable td,\n.markdown-body .highlighttable td {\n  border: 0;\n  padding: 0;\n}\n\n.markdown-body td:not(.linenos) .linenodiv {\n  padding: 0 !important;\n}\n\n.markdown-body .code {\n  width: 100%;\n}\n\n.markdown-body .linenos div pre,\n.markdown-body .linenodiv pre,\n.markdown-body .linenodiv {\n  border: 0;\n  -webkit-border-radius: 0;\n  -moz-border-radius: 0;\n  border-radius: 0;\n  -webkit-border-top-left-radius: 3px;\n  -webkit-border-bottom-left-radius: 3px;\n  -moz-border-radius-topleft: 3px;\n  -moz-border-radius-bottomleft: 3px;\n  border-top-left-radius: 3px;\n  border-bottom-left-radius: 3px;\n}\n\n.markdown-body .code div pre,\n.markdown-body .code div {\n  border: 0;\n  -webkit-border-radius: 0;\n  -moz-border-radius: 0;\n  border-radius: 0;\n  -webkit-border-top-right-radius: 3px;\n  -webkit-border-bottom-right-radius: 3px;\n  -moz-border-radius-topright: 3px;\n  -moz-border-radius-bottomright: 3px;\n  border-top-right-radius: 3px;\n  border-bottom-right-radius: 3px;\n}\n\n.markdown-body * {\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n\n.markdown-body input {\n  font: 13px Helvetica, arial, freesans, clean, sans-serif, \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n  line-height: 1.4;\n}\n\n.markdown-body a {\n  color: #4183c4;\n  text-decoration: none;\n}\n\n.markdown-body a:hover,\n.markdown-body a:focus,\n.markdown-body a:active {\n  text-decoration: underline;\n}\n\n.markdown-body hr {\n  height: 0;\n  margin: 15px 0;\n  overflow: hidden;\n  background: transparent;\n  border: 0;\n  border-bottom: 1px solid #ddd;\n}\n\n.markdown-body hr:before,\n.markdown-body hr:after {\n  display: table;\n  content: \" \";\n}\n\n.markdown-body hr:after {\n  clear: both;\n}\n\n.markdown-body h1,\n.markdown-body h2,\n.markdown-body h3,\n.markdown-body h4,\n.markdown-body h5,\n.markdown-body h6 {\n  margin-top: 15px;\n  margin-bottom: 15px;\n  line-height: 1.1;\n}\n\n.markdown-body h1 {\n  font-size: 30px;\n}\n\n.markdown-body h2 {\n  font-size: 21px;\n}\n\n.markdown-body h3 {\n  font-size: 16px;\n}\n\n.markdown-body h4 {\n  font-size: 14px;\n}\n\n.markdown-body h5 {\n  font-size: 12px;\n}\n\n.markdown-body h6 {\n  font-size: 11px;\n}\n\n.markdown-body blockquote {\n  margin: 0;\n}\n\n.markdown-body ul,\n.markdown-body ol {\n  padding: 0;\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n.markdown-body ol ol,\n.markdown-body ul ol {\n  list-style-type: lower-roman;\n}\n\n.markdown-body ul ul ol,\n.markdown-body ul ol ol,\n.markdown-body ol ul ol,\n.markdown-body ol ol ol {\n  list-style-type: lower-alpha;\n}\n\n.markdown-body dd {\n  margin-left: 0;\n}\n\n.markdown-body code,\n.markdown-body pre,\n.markdown-body samp {\n  font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n  font-size: 12px;\n}\n\n.markdown-body pre {\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n.markdown-body kbd {\n  background-color: #e7e7e7;\n  background-image: -moz-linear-gradient(#fefefe, #e7e7e7);\n  background-image: -webkit-linear-gradient(#fefefe, #e7e7e7);\n  background-image: linear-gradient(#fefefe, #e7e7e7);\n  background-repeat: repeat-x;\n  border-radius: 2px;\n  border: 1px solid #cfcfcf;\n  color: #000;\n  padding: 3px 5px;\n  line-height: 10px;\n  font: 11px Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n  display: inline-block;\n}\n\n.markdown-body\u003e*:first-child {\n  margin-top: 0 !important;\n}\n\n.markdown-body\u003e*:last-child {\n  margin-bottom: 0 !important;\n}\n\n.markdown-body .headerlink {\n  font: normal 400 16px fontawesome-mini;\n  vertical-align: middle;\n  margin-left: -16px;\n  float: left;\n  display: inline-block;\n  text-decoration: none;\n  opacity: 0;\n  color: #333;\n}\n\n.markdown-body .headerlink:focus {\n  outline: none;\n}\n\n.markdown-body h1 .headerlink {\n  margin-top: 0.8rem;\n}\n\n.markdown-body h2 .headerlink,\n.markdown-body h3 .headerlink {\n  margin-top: 0.6rem;\n}\n\n.markdown-body h4 .headerlink {\n  margin-top: 0.2rem;\n}\n\n.markdown-body h5 .headerlink,\n.markdown-body h6 .headerlink {\n  margin-top: 0;\n}\n\n.markdown-body .headerlink:hover,\n.markdown-body h1:hover .headerlink,\n.markdown-body h2:hover .headerlink,\n.markdown-body h3:hover .headerlink,\n.markdown-body h4:hover .headerlink,\n.markdown-body h5:hover .headerlink,\n.markdown-body h6:hover .headerlink {\n  opacity: 1;\n  text-decoration: none;\n}\n\n.markdown-body h1 {\n  padding-bottom: 0.3em;\n  font-size: 2.25em;\n  line-height: 1.2;\n  border-bottom: 1px solid #eee;\n}\n\n.markdown-body h2 {\n  padding-bottom: 0.3em;\n  font-size: 1.75em;\n  line-height: 1.225;\n  border-bottom: 1px solid #eee;\n}\n\n.markdown-body h3 {\n  font-size: 1.5em;\n  line-height: 1.43;\n}\n\n.markdown-body h4 {\n  font-size: 1.25em;\n}\n\n.markdown-body h5 {\n  font-size: 1em;\n}\n\n.markdown-body h6 {\n  font-size: 1em;\n  color: #777;\n}\n\n.markdown-body p,\n.markdown-body blockquote,\n.markdown-body ul,\n.markdown-body ol,\n.markdown-body dl,\n.markdown-body table,\n.markdown-body pre,\n.markdown-body .admonition {\n  margin-top: 0;\n  margin-bottom: 16px;\n}\n\n.markdown-body hr {\n  height: 4px;\n  padding: 0;\n  margin: 16px 0;\n  background-color: #e7e7e7;\n  border: 0 none;\n}\n\n.markdown-body ul,\n.markdown-body ol {\n  padding-left: 2em;\n}\n\n.markdown-body ul ul,\n.markdown-body ul ol,\n.markdown-body ol ol,\n.markdown-body ol ul {\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n.markdown-body li\u003ep {\n  margin-top: 16px;\n}\n\n.markdown-body dl {\n  padding: 0;\n}\n\n.markdown-body dl dt {\n  padding: 0;\n  margin-top: 16px;\n  font-size: 1em;\n  font-style: italic;\n  font-weight: bold;\n}\n\n.markdown-body dl dd {\n  padding: 0 16px;\n  margin-bottom: 16px;\n}\n\n.markdown-body blockquote {\n  padding: 0 15px;\n  color: #777;\n  border-left: 4px solid #ddd;\n}\n\n.markdown-body blockquote\u003e:first-child {\n  margin-top: 0;\n}\n\n.markdown-body blockquote\u003e:last-child {\n  margin-bottom: 0;\n}\n\n.markdown-body table {\n  display: block;\n  width: 100%;\n  overflow: auto;\n  word-break: normal;\n  word-break: keep-all;\n}\n\n.markdown-body table th {\n  font-weight: bold;\n}\n\n.markdown-body table th,\n.markdown-body table td {\n  padding: 6px 13px;\n  border: 1px solid #ddd;\n}\n\n.markdown-body table tr {\n  background-color: #fff;\n  border-top: 1px solid #ccc;\n}\n\n.markdown-body table tr:nth-child(2n) {\n  background-color: #f8f8f8;\n}\n\n.markdown-body img {\n  max-width: 100%;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n\n.markdown-body code,\n.markdown-body samp {\n  padding: 0;\n  padding-top: 0.2em;\n  padding-bottom: 0.2em;\n  margin: 0;\n  font-size: 85%;\n  border-radius: 3px;\n}\n\n.markdown-body code:not(.highlight):not(.codehilite), .markdown-body samp {\n  background-color: rgba(0,0,0,0.04);\n}\n\n.markdown-body code:before,\n.markdown-body code:after {\n  letter-spacing: -0.2em;\n  content: \"\\00a0\";\n}\n\n.markdown-body pre\u003ecode {\n  padding: 0;\n  margin: 0;\n  font-size: 100%;\n  word-break: normal;\n  white-space: pre;\n  background: transparent;\n  border: 0;\n}\n\n.markdown-body .codehilite,\n.markdown-body .highlight {\n  margin-bottom: 16px;\n}\n\n.markdown-body .codehilite pre,\n.markdown-body .highlight pre,\n.markdown-body pre {\n  padding: 16px;\n  overflow: auto;\n  font-size: 85%;\n  line-height: 1.45;\n}\n\n.markdown-body .codehilite,\n.markdown-body .highlight,\n.markdown-body pre {\n  border-radius: 3px;\n}\n\n.markdown-body :not(.highlight) \u003e pre {\n  background-color: #f7f7f7;\n}\n\n.markdown-body .codehilite pre,\n.markdown-body .highlight pre {\n  margin-bottom: 0;\n  word-break: normal;\n}\n\n.markdown-body pre {\n  word-wrap: normal;\n}\n\n.markdown-body pre code {\n  display: inline;\n  max-width: initial;\n  padding: 0;\n  margin: 0;\n  overflow: initial;\n  line-height: inherit;\n  word-wrap: normal;\n  background-color: transparent;\n  border: 0;\n}\n\n.markdown-body pre code:before,\n.markdown-body pre code:after {\n  content: normal;\n}\n\n/* Admonition */\n.markdown-body .admonition {\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  position: relative;\n  border-radius: 3px;\n  border: 1px solid #e0e0e0;\n  border-left: 6px solid #333;\n  padding: 10px 10px 10px 30px;\n}\n\n.markdown-body .admonition table {\n  color: #333;\n}\n\n.markdown-body .admonition p {\n  padding: 0;\n}\n\n.markdown-body .admonition-title {\n  font-weight: bold;\n  margin: 0;\n}\n\n.markdown-body .admonition\u003e.admonition-title {\n  color: #333;\n}\n\n.markdown-body .attention\u003e.admonition-title {\n  color: #a6d796;\n}\n\n.markdown-body .caution\u003e.admonition-title {\n  color: #d7a796;\n}\n\n.markdown-body .hint\u003e.admonition-title {\n  color: #96c6d7;\n}\n\n.markdown-body .danger\u003e.admonition-title {\n  color: #c25f77;\n}\n\n.markdown-body .question\u003e.admonition-title {\n  color: #96a6d7;\n}\n\n.markdown-body .note\u003e.admonition-title {\n  color: #d7c896;\n}\n\n.markdown-body .admonition:before,\n.markdown-body .attention:before,\n.markdown-body .caution:before,\n.markdown-body .hint:before,\n.markdown-body .danger:before,\n.markdown-body .question:before,\n.markdown-body .note:before {\n  font: normal normal 16px fontawesome-mini;\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n  line-height: 1.5;\n  color: #333;\n  position: absolute;\n  left: 0;\n  top: 0;\n  padding-top: 10px;\n  padding-left: 10px;\n}\n\n.markdown-body .admonition:before {\n  content: \"\\f056\\00a0\";\n  color: 333;\n}\n\n.markdown-body .attention:before {\n  content: \"\\f058\\00a0\";\n  color: #a6d796;\n}\n\n.markdown-body .caution:before {\n  content: \"\\f06a\\00a0\";\n  color: #d7a796;\n}\n\n.markdown-body .hint:before {\n  content: \"\\f05a\\00a0\";\n  color: #96c6d7;\n}\n\n.markdown-body .danger:before {\n  content: \"\\f057\\00a0\";\n  color: #c25f77;\n}\n\n.markdown-body .question:before {\n  content: \"\\f059\\00a0\";\n  color: #96a6d7;\n}\n\n.markdown-body .note:before {\n  content: \"\\f040\\00a0\";\n  color: #d7c896;\n}\n\n.markdown-body .admonition::after {\n  content: normal;\n}\n\n.markdown-body .attention {\n  border-left: 6px solid #a6d796;\n}\n\n.markdown-body .caution {\n  border-left: 6px solid #d7a796;\n}\n\n.markdown-body .hint {\n  border-left: 6px solid #96c6d7;\n}\n\n.markdown-body .danger {\n  border-left: 6px solid #c25f77;\n}\n\n.markdown-body .question {\n  border-left: 6px solid #96a6d7;\n}\n\n.markdown-body .note {\n  border-left: 6px solid #d7c896;\n}\n\n.markdown-body .admonition\u003e*:first-child {\n  margin-top: 0 !important;\n}\n\n.markdown-body .admonition\u003e*:last-child {\n  margin-bottom: 0 !important;\n}\n\n/* progress bar*/\n.markdown-body .progress {\n  display: block;\n  width: 300px;\n  margin: 10px 0;\n  height: 24px;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  border-radius: 3px;\n  background-color: #ededed;\n  position: relative;\n  box-shadow: inset -1px 1px 3px rgba(0, 0, 0, .1);\n}\n\n.markdown-body .progress-label {\n  position: absolute;\n  text-align: center;\n  font-weight: bold;\n  width: 100%; margin: 0;\n  line-height: 24px;\n  color: #333;\n  text-shadow: 1px 1px 0 #fefefe, -1px -1px 0 #fefefe, -1px 1px 0 #fefefe, 1px -1px 0 #fefefe, 0 1px 0 #fefefe, 0 -1px 0 #fefefe, 1px 0 0 #fefefe, -1px 0 0 #fefefe, 1px 1px 2px #000;\n  -webkit-font-smoothing: antialiased !important;\n  white-space: nowrap;\n  overflow: hidden;\n}\n\n.markdown-body .progress-bar {\n  height: 24px;\n  float: left;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  border-radius: 3px;\n  background-color: #96c6d7;\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .1);\n  background-size: 30px 30px;\n  background-image: -webkit-linear-gradient(\n    135deg, rgba(255, 255, 255, .4) 27%,\n    transparent 27%,\n    transparent 52%, rgba(255, 255, 255, .4) 52%,\n    rgba(255, 255, 255, .4) 77%,\n    transparent 77%, transparent\n  );\n  background-image: -moz-linear-gradient(\n    135deg,\n    rgba(255, 255, 255, .4) 27%, transparent 27%,\n    transparent 52%, rgba(255, 255, 255, .4) 52%,\n    rgba(255, 255, 255, .4) 77%, transparent 77%,\n    transparent\n  );\n  background-image: -ms-linear-gradient(\n    135deg,\n    rgba(255, 255, 255, .4) 27%, transparent 27%,\n    transparent 52%, rgba(255, 255, 255, .4) 52%,\n    rgba(255, 255, 255, .4) 77%, transparent 77%,\n    transparent\n  );\n  background-image: -o-linear-gradient(\n    135deg,\n    rgba(255, 255, 255, .4) 27%, transparent 27%,\n    transparent 52%, rgba(255, 255, 255, .4) 52%,\n    rgba(255, 255, 255, .4) 77%, transparent 77%,\n    transparent\n  );\n  background-image: linear-gradient(\n    135deg,\n    rgba(255, 255, 255, .4) 27%, transparent 27%,\n    transparent 52%, rgba(255, 255, 255, .4) 52%,\n    rgba(255, 255, 255, .4) 77%, transparent 77%,\n    transparent\n  );\n}\n\n.markdown-body .progress-100plus .progress-bar {\n  background-color: #a6d796;\n}\n\n.markdown-body .progress-80plus .progress-bar {\n  background-color: #c6d796;\n}\n\n.markdown-body .progress-60plus .progress-bar {\n  background-color: #d7c896;\n}\n\n.markdown-body .progress-40plus .progress-bar {\n  background-color: #d7a796;\n}\n\n.markdown-body .progress-20plus .progress-bar {\n  background-color: #d796a6;\n}\n\n.markdown-body .progress-0plus .progress-bar {\n  background-color: #c25f77;\n}\n\n.markdown-body .candystripe-animate .progress-bar{\n  -webkit-animation: animate-stripes 3s linear infinite;\n  -moz-animation: animate-stripes 3s linear infinite;\n  animation: animate-stripes 3s linear infinite;\n}\n\n@-webkit-keyframes animate-stripes {\n  0% {\n    background-position: 0 0;\n  }\n\n  100% {\n    background-position: 60px 0;\n  }\n}\n\n@-moz-keyframes animate-stripes {\n  0% {\n    background-position: 0 0;\n  }\n\n  100% {\n    background-position: 60px 0;\n  }\n}\n\n@keyframes animate-stripes {\n  0% {\n    background-position: 0 0;\n  }\n\n  100% {\n    background-position: 60px 0;\n  }\n}\n\n.markdown-body .gloss .progress-bar {\n  box-shadow:\n    inset 0 4px 12px rgba(255, 255, 255, .7),\n    inset 0 -12px 0 rgba(0, 0, 0, .05);\n}\n\n/* MultiMarkdown Critic Blocks */\n.markdown-body .critic_mark {\n  background: #ff0;\n}\n\n.markdown-body .critic_delete {\n  color: #c82829;\n  text-decoration: line-through;\n}\n\n.markdown-body .critic_insert {\n  color: #718c00 ;\n  text-decoration: underline;\n}\n\n.markdown-body .critic_comment {\n  color: #8e908c;\n  font-style: italic;\n}\n\n.markdown-body .headeranchor {\n  font: normal normal 16px fontawesome-mini;\n  line-height: 1;\n  display: inline-block;\n  text-decoration: none;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n\n.headeranchor:before {\n  content: '\\e157';\n}\n\n.markdown-body .task-list-item {\n  list-style-type: none;\n}\n\n.markdown-body .task-list-item+.task-list-item {\n  margin-top: 3px;\n}\n\n.markdown-body .task-list-item input {\n  margin: 0 4px 0.25em -20px;\n  vertical-align: middle;\n}\n\n.markdown-body diagram-div, .markdown-body div.uml-sequence-diagram, .markdown-body, div.uml-flowchart {\n  overflow: auto;\n}\n\n/* Media */\n@media only screen and (min-width: 480px) {\n  .markdown-body {\n    font-size:14px;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .markdown-body {\n    font-size:16px;\n  }\n}\n\n@media print {\n  .markdown-body * {\n    background: transparent !important;\n    color: black !important;\n    filter:none !important;\n    -ms-filter: none !important;\n  }\n\n  .markdown-body {\n    font-size:12pt;\n    max-width:100%;\n    outline:none;\n    border: 0;\n  }\n\n  .markdown-body a,\n  .markdown-body a:visited {\n    text-decoration: underline;\n  }\n\n  .markdown-body .headeranchor-link {\n    display: none;\n  }\n\n  .markdown-body a[href]:after {\n    content: \" (\" attr(href) \")\";\n  }\n\n  .markdown-body abbr[title]:after {\n    content: \" (\" attr(title) \")\";\n  }\n\n  .markdown-body .ir a:after,\n  .markdown-body a[href^=\"javascript:\"]:after,\n  .markdown-body a[href^=\"#\"]:after {\n    content: \"\";\n  }\n\n  .markdown-body pre {\n    white-space: pre;\n    white-space: pre-wrap;\n    word-wrap: break-word;\n  }\n\n  .markdown-body pre,\n  .markdown-body blockquote {\n    border: 1px solid #999;\n    padding-right: 1em;\n    page-break-inside: avoid;\n  }\n\n  .markdown-body .progress,\n  .markdown-body .progress-bar {\n    -moz-box-shadow: none;\n    -webkit-box-shadow: none;\n    box-shadow: none;\n  }\n\n  .markdown-body .progress {\n    border: 1px solid #ddd;\n  }\n\n  .markdown-body .progress-bar {\n    height: 22px;\n    border-right: 1px solid #ddd;\n  }\n\n  .markdown-body tr,\n  .markdown-body img {\n    page-break-inside: avoid;\n  }\n\n  .markdown-body img {\n    max-width: 100% !important;\n  }\n\n  .markdown-body p,\n  .markdown-body h2,\n  .markdown-body h3 {\n    orphans: 3;\n    widows: 3;\n  }\n\n  .markdown-body h2,\n  .markdown-body h3 {\n    page-break-after: avoid;\n  }\n}\n\u003c/style\u003e\u003cstyle\u003e/*GitHub*/\n.highlight {background-color:#f7f7f7;color:#333333;}\n.highlight .hll {background-color:#ffffcc;}\n.highlight .c{color:#999988;font-style:italic}\n.highlight .err{color:#a61717;background-color:#e3d2d2}\n.highlight .k{font-weight:bold}\n.highlight .o{font-weight:bold}\n.highlight .cm{color:#999988;font-style:italic}\n.highlight .cp{color:#999999;font-weight:bold}\n.highlight .c1{color:#999988;font-style:italic}\n.highlight .cs{color:#999999;font-weight:bold;font-style:italic}\n.highlight .gd{color:#000000;background-color:#ffdddd}\n.highlight .ge{font-style:italic}\n.highlight .gr{color:#aa0000}\n.highlight .gh{color:#999999}\n.highlight .gi{color:#000000;background-color:#ddffdd}\n.highlight .go{color:#888888}\n.highlight .gp{color:#555555}\n.highlight .gs{font-weight:bold}\n.highlight .gu{color:#800080;font-weight:bold}\n.highlight .gt{color:#aa0000}\n.highlight .kc{font-weight:bold}\n.highlight .kd{font-weight:bold}\n.highlight .kn{font-weight:bold}\n.highlight .kp{font-weight:bold}\n.highlight .kr{font-weight:bold}\n.highlight .kt{color:#445588;font-weight:bold}\n.highlight .m{color:#009999}\n.highlight .s{color:#dd1144}\n.highlight .n{color:#333333}\n.highlight .na{color:teal}\n.highlight .nb{color:#0086b3}\n.highlight .nc{color:#445588;font-weight:bold}\n.highlight .no{color:teal}\n.highlight .ni{color:purple}\n.highlight .ne{color:#990000;font-weight:bold}\n.highlight .nf{color:#990000;font-weight:bold}\n.highlight .nn{color:#555555}\n.highlight .nt{color:navy}\n.highlight .nv{color:teal}\n.highlight .ow{font-weight:bold}\n.highlight .w{color:#bbbbbb}\n.highlight .mf{color:#009999}\n.highlight .mh{color:#009999}\n.highlight .mi{color:#009999}\n.highlight .mo{color:#009999}\n.highlight .sb{color:#dd1144}\n.highlight .sc{color:#dd1144}\n.highlight .sd{color:#dd1144}\n.highlight .s2{color:#dd1144}\n.highlight .se{color:#dd1144}\n.highlight .sh{color:#dd1144}\n.highlight .si{color:#dd1144}\n.highlight .sx{color:#dd1144}\n.highlight .sr{color:#009926}\n.highlight .s1{color:#dd1144}\n.highlight .ss{color:#990073}\n.highlight .bp{color:#999999}\n.highlight .vc{color:teal}\n.highlight .vg{color:teal}\n.highlight .vi{color:teal}\n.highlight .il{color:#009999}\n.highlight .gc{color:#999;background-color:#EAF2F5}\n\u003c/style\u003e\u003ctitle\u003eREADME\u003c/title\u003e\u003c/head\u003e\u003cbody\u003e\u003carticle class=\"markdown-body\"\u003e\u003ch1 id=\"advanced-charging-controller-acc\"\u003eAdvanced Charging Controller (ACC)\u003ca class=\"headerlink\" href=\"#advanced-charging-controller-acc\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h1\u003e\n\u003chr /\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"#description\"\u003eDESCRIPTION\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#license\"\u003eLICENSE\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#disclaimer\"\u003eDISCLAIMER\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#warnings\"\u003eWARNINGS\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#donations\"\u003eDONATIONS\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePREREQUISITES\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#quick-start-guide\"\u003eQUICK START GUIDE\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#notes\"\u003eNotes\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#building-andor-installing-from-source\"\u003eBUILDING AND/OR INSTALLING FROM SOURCE\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#dependencies-build\"\u003eDependencies (Build)\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#build-tarballs-and-flashable-zips\"\u003eBuild Tarballs and Flashable Zips\u003c/a\u003e\u003cul\u003e\n\u003cli\u003e\u003ca href=\"#notes-1\"\u003eNotes\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#install-from-local-source-or-github\"\u003eInstall from Local Source or GitHub\u003c/a\u003e\u003cul\u003e\n\u003cli\u003e\u003ca href=\"#notes-2\"\u003eNotes\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#default-configuration\"\u003eDEFAULT CONFIGURATION\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#setupusage\"\u003eSETUP/USAGE\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#terminal-commands\"\u003eTerminal Commands\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#plugins\"\u003ePLUGINS\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#notestips-for-front-end-developers\"\u003eNOTES/TIPS FOR FRONT-END DEVELOPERS\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#basics\"\u003eBasics\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#installingupgrading-acc\"\u003eInstalling/Upgrading ACC\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#uninstalling-acc\"\u003eUninstalling ACC\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#initializing-acc\"\u003eInitializing ACC\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#managing-acc\"\u003eManaging ACC\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#the-output-of---info\"\u003eThe Output of \u0026ndash;info\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#profiles\"\u003eProfiles\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#more\"\u003eMore\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#troubleshooting\"\u003eTROUBLESHOOTING\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#acc--t-results-seem-inconsistent\"\u003e\u003ccode\u003eacc -t\u003c/code\u003e Results Seem Inconsistent\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#battery-capacity--level-doesnt-seem-right\"\u003eBattery Capacity (% Level) Doesn\u0026rsquo;t Seem Right\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#charging-switch\"\u003eCharging Switch\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#custom-max-charging-voltage-and-current-limits\"\u003eCustom Max Charging Voltage And Current Limits\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#diagnosticslogs\"\u003eDiagnostics/Logs\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#finding-additionalpotential-charging-switches-quickly\"\u003eFinding Additional/Potential Charging Switches Quickly\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#install-upgrade-stop-and-restart-processes-seem-to-take-too-long\"\u003eInstall, Upgrade, Stop and Restart Processes Seem to Take Too Long\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#restore-default-config\"\u003eRestore Default Config\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#samsung-charging-always-stops-at-70-capacity\"\u003eSamsung, Charging \u003cem\u003eAlways\u003c/em\u003e Stops at 70% Capacity\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#slow-charging\"\u003eSlow Charging\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#unable-to-charge\"\u003eUnable to Charge\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#unexpected-reboots\"\u003eUnexpected Reboots\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#warp-vooc-and-other-fast-charging-tech\"\u003eWARP, VOOC and Other Fast Charging Tech\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#why-did-accd-stop\"\u003eWhy Did accd Stop?\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#power-supply-logs-help-needed\"\u003ePOWER SUPPLY LOGS (HELP NEEDED)\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#localization\"\u003eLOCALIZATION\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#tips\"\u003eTIPS\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#always-limit-the-charging-current-if-your-battery-is-old-andor-tends-to-discharge-too-fast\"\u003e\u003cem\u003eAlways\u003c/em\u003e Limit the Charging Current If Your Battery is Old and/or Tends to Discharge Too Fast\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#generic\"\u003eGeneric\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#google-pixel-devices\"\u003eGoogle Pixel Devices\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/home/v/Transfer%C3%AAncias/git/acc/override_battery_mah_capacity\"\u003eOverride Battery mAh Capacity\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/home/v/Transfer%C3%AAncias/git/acc/override_broken_temperature_sensor\"\u003eOverride Broken Temperature Sensor\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#frequently-asked-questions-faq\"\u003eFREQUENTLY ASKED QUESTIONS (FAQ)\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#links\"\u003eLINKS\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003chr /\u003e\n\u003ch2 id=\"description\"\u003eDESCRIPTION\u003ca class=\"headerlink\" href=\"#description\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eACC is an Android software mainly intended for \u003ca href=\"https://batteryuniversity.com/article/bu-808-how-to-prolong-lithium-based-batteries\"\u003eextending battery service life\u003c/a\u003e.\nIn a nutshell, this is achieved through limiting charging current, temperature and voltage.\nAny root solution is supported.\nRegardless of whether the system is rooted with KernelSU/Magisk, the installation is always \u0026ldquo;systemless\u0026rdquo;.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"license\"\u003eLICENSE\u003ca class=\"headerlink\" href=\"#license\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eCopyright 2017-2023, VR25\u003c/p\u003e\n\u003cp\u003eThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\u003c/p\u003e\n\u003cp\u003eThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\u003c/p\u003e\n\u003cp\u003eYou should have received a copy of the GNU General Public License\nalong with this program. If not, see \u003ca href=\"https://www.gnu.org/licenses/\"\u003ehttps://www.gnu.org/licenses/\u003c/a\u003e.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"disclaimer\"\u003eDISCLAIMER\u003ca class=\"headerlink\" href=\"#disclaimer\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eAlways read/reread this reference prior to installing/upgrading this software.\u003c/p\u003e\n\u003cp\u003eWhile no cats have been harmed, the author assumes no responsibility for anything that might break due to the use/misuse of it.\u003c/p\u003e\n\u003cp\u003eTo prevent fraud, do NOT mirror any link associated with this project.\nDo NOT share builds (tarballs/zips)! Share official links instead.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"warnings\"\u003eWARNINGS\u003ca class=\"headerlink\" href=\"#warnings\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eACC manipulates Android low level (\u003ca href=\"https://duckduckgo.com/lite/?q=kernel+android\"\u003ekernel\u003c/a\u003e) parameters which control the charging circuitry.\nThe author assumes no responsibility under anything that might break due to the use/misuse of this software.\nBy choosing to use/misuse it, you agree to do so at your own risk!\u003c/p\u003e\n\u003cp\u003eSome devices, notably from Xiaomi (e.g., Poco X3 Pro), have a faulty PMIC (Power Management Integrated Circuit) that can be triggered by acc.\nThe issue blocks charging.\nEnsure the battery does not discharge too low.\nUsing acc\u0026rsquo;s auto shutdown feature is highly recommended (default shutdown_capacity is 5).\u003c/p\u003e\n\u003cp\u003eRefer to \u003ca href=\"https://forum.xda-developers.com/t/rom-official-arrowos-11-0-android-11-0-vayu-bhima.4267263/post-85119331\"\u003ethis XDA post\u003c/a\u003e for additional details.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://github.com/lybxlpsv\"\u003elybxlpsv\u003c/a\u003e suggests booting into bootloader/fastboot and then back into system to reset the PMIC.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"donations\"\u003eDONATIONS\u003ca class=\"headerlink\" href=\"#donations\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003ePlease, support the project with donations (\u003ca href=\"#links\"\u003elinks\u003c/a\u003e at the bottom).\nAs the project gets bigger and more popular, the need for coffee goes up as well.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"prerequisites\"\u003ePREREQUISITES\u003ca class=\"headerlink\" href=\"#prerequisites\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://batteryuniversity.com/article/bu-808-how-to-prolong-lithium-based-batteries\"\u003eMust read - how to prolong lithium ion batteries lifespan\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003eAndroid or KaiOS\u003c/li\u003e\n\u003cli\u003eAny root solution (e.g., KernelSU, Magisk, SuperSU, etc)\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Magisk-Modules-Repo/busybox-ndk\"\u003eBusybox*\u003c/a\u003e (only if not rooted with KernelSU or Magisk)\u003c/li\u003e\n\u003cli\u003eNon KernelSU/Magisk installs require a way of running \u003ccode\u003e/data/adb/vr25/acc/service.sh\u003c/code\u003e on boot to initialize acc.\u003c/li\u003e\n\u003cli\u003eTerminal emulator\u003c/li\u003e\n\u003cli\u003eRoot text editor (optional)\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e* A busybox binary can simply be placed in \u003ccode\u003e/data/adb/vr25/bin/\u003c/code\u003e.\nPermissions (\u003ccode\u003e0755\u003c/code\u003e) are set automatically, as needed.\nPrecedence: /data/adb/vr25/bin/busybox \u0026gt; KernelSu\u0026rsquo;s or Magisk\u0026rsquo;s busybox \u0026gt; system\u0026rsquo;s busybox\u003c/p\u003e\n\u003cp\u003eOther executables or static binaries can also be placed in \u003ccode\u003e/data/adb/vr25/bin/\u003c/code\u003e (with proper permissions) instead of being installed system-wide.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"quick-start-guide\"\u003eQUICK START GUIDE\u003ca class=\"headerlink\" href=\"#quick-start-guide\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003col start=\"0\"\u003e\n\u003cli\u003e\n\u003cp\u003eAll commands/actions require root.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eInstall/upgrade: flash* the zip or use a front-end app.\nThere are two additional ways of upgrading: \u003ccode\u003eacc --upgrade\u003c/code\u003e (online) and \u003ccode\u003eacc --flash\u003c/code\u003e (zip flasher).\nRebooting after installation/removal is generally unnecessary.\nManual uninstall before upgrade is unnecessary.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e[Optional] run \u003ccode\u003eacc\u003c/code\u003e (wizard). That\u0026rsquo;s the main command to remember.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e[Optional] run \u003ccode\u003eacc pause_capacity resume_capacity\u003c/code\u003e (default \u003ccode\u003e75 70\u003c/code\u003e) to set the battery levels at which charging should pause and resume, respectively.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eIf you come across any issues, refer to the \u003ca href=\"#troubleshooting\"\u003etroubleshooting\u003c/a\u003e, \u003ca href=\"#tips\"\u003etips\u003c/a\u003e and \u003ca href=\"#frequently-asked-questions-faq\"\u003eFAQ\u003c/a\u003e sections below.\nRead as much as you can, prior to reporting issues and/or asking questions.\nOftentimes, solutions/answers will be right before your eyes.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch3 id=\"notes\"\u003eNotes\u003ca class=\"headerlink\" href=\"#notes\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eSteps \u003ccode\u003e2\u003c/code\u003e and \u003ccode\u003e3\u003c/code\u003e are optional because there are default settings.\nFor details, refer to the \u003ca href=\"#default-configuration\"\u003edefault configuration\u003c/a\u003e section below.\nUsers are encouraged to try step \u003ccode\u003e2\u003c/code\u003e - to familiarize themselves with the available options.\u003c/p\u003e\n\u003cp\u003eSettings can be overwhelming. Start with what you understand.\nThe default configuration has you covered.\nDon\u0026rsquo;t ever feel like you have to configure everything. You probably shouldn\u0026rsquo;t anyway - unless you really know what you\u0026rsquo;re doing.\u003c/p\u003e\n\u003cp\u003eUninstall: run \u003ccode\u003eacc --uninstall\u003c/code\u003e or flash* \u003ccode\u003e/data/adb/vr25/acc-data/acc-uninstaller.zip\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eACC runs in some recovery environments as well.\nUnless the zip is flashed again, manual initialization is required.\nThe initialization script is \u003ccode\u003e/data/adb/vr25/acc/service.sh\u003c/code\u003e.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"building-andor-installing-from-source\"\u003eBUILDING AND/OR INSTALLING FROM SOURCE\u003ca class=\"headerlink\" href=\"#building-andor-installing-from-source\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003ch3 id=\"dependencies-build\"\u003eDependencies (Build)\u003ca class=\"headerlink\" href=\"#dependencies-build\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003egit, wget, or curl (pick one)\u003c/li\u003e\n\u003cli\u003ezip\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3 id=\"build-tarballs-and-flashable-zips\"\u003eBuild Tarballs and Flashable Zips\u003ca class=\"headerlink\" href=\"#build-tarballs-and-flashable-zips\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003col\u003e\n\u003cli\u003e\n\u003cp\u003eDownload and extract the source code: \u003ccode\u003egit clone https://github.com/VR-25/acc.git\u003c/code\u003e\nor \u003ccode\u003ewget  https://github.com/VR-25/acc/archive/master.tar.gz -O - | tar -xz\u003c/code\u003e\nor \u003ccode\u003ecurl -L#  https://github.com/VR-25/acc/archive/master.tar.gz | tar -xz\u003c/code\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ccode\u003ecd acc*\u003c/code\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ccode\u003esh build.sh\u003c/code\u003e (or double-click \u003ccode\u003ebuild.bat\u003c/code\u003e on Windows 10+, if you have Windows subsystem for Linux (with zip) installed)\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch4 id=\"notes_1\"\u003eNotes\u003ca class=\"headerlink\" href=\"#notes_1\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h4\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ccode\u003ebuild.sh\u003c/code\u003e automatically sets/corrects \u003ccode\u003eid=*\u003c/code\u003e in \u003ccode\u003e*.sh\u003c/code\u003e and \u003ccode\u003eupdate-binary\u003c/code\u003e files.\nTo skip generating archives, run the build script with a random argument (e.g. \u003ccode\u003esh build.sh h\u003c/code\u003e).\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eTo update the local source code, run \u003ccode\u003egit pull --force\u003c/code\u003e or re-download it (with \u003ccode\u003ewget\u003c/code\u003e/\u003ccode\u003ecurl\u003c/code\u003e) as described above.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3 id=\"install-from-local-source-or-github\"\u003eInstall from Local Source or GitHub\u003ca class=\"headerlink\" href=\"#install-from-local-source-or-github\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ccode\u003e[export installDir=\u0026lt;parent install dir\u0026gt;] sh install.sh\u003c/code\u003e installs acc from the extracted source.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ccode\u003esh install-online.sh [-c|--changelog] [-f|--force] [-k|--insecure] [-n|--non-interactive] [%parent install dir%] [commit]\u003c/code\u003e downloads and installs acc from GitHub - e.g., \u003ccode\u003esh install-online.sh dev\u003c/code\u003e.\nThe order of arguments doesn\u0026rsquo;t matter.\nFor upgrades, if \u003ccode\u003e%parent install dir%\u003c/code\u003e is not supplied, the original/current is used.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ccode\u003esh install-tarball.sh [module id, default: acc] [parent install dir (e.g., /data/data/mattecarra.accapp/files)]\u003c/code\u003e installs the tarball (\u003ccode\u003eacc*gz\u003c/code\u003e) from the script\u0026rsquo;s location.\nThe archive must be in the same directory as this script - and obtained from GitHub: \u003ca href=\"https://github.com/VR-25/acc/archive/$commit.tar.gz\"\u003ehttps://github.com/VR-25/acc/archive/$commit.tar.gz\u003c/a\u003e (\u003ccode\u003e$commit\u003c/code\u003e examples: \u003ccode\u003emaster\u003c/code\u003e, \u003ccode\u003edev\u003c/code\u003e, \u003ccode\u003ev2020.5.20-rc\u003c/code\u003e).\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch4 id=\"notes_2\"\u003eNotes\u003ca class=\"headerlink\" href=\"#notes_2\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h4\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ccode\u003einstall-online.sh\u003c/code\u003e is the \u003ccode\u003eacc --upgrade\u003c/code\u003e back-end.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eThe default parent installation directories, in order of priority, are: \u003ccode\u003e/data/data/mattecarra.accapp/files/\u003c/code\u003e (ACC App, but only for non KernelSU/Magisk installs), \u003ccode\u003e/data/adb/modules/\u003c/code\u003e (KernelSU/Magisk) and \u003ccode\u003e/data/adb/vr25/\u003c/code\u003e (other root solutions).\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eNo argument/option is strictly mandatory.\nThe exception is \u003ccode\u003e--non-interactive\u003c/code\u003e for front-end apps.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eThe \u003ccode\u003e--force\u003c/code\u003e option to \u003ccode\u003einstall-online.sh\u003c/code\u003e is meant for re-installation and downgrading.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ccode\u003esh install-online.sh --changelog --non-interactive\u003c/code\u003e prints the version code (integer) and changelog URL (string) when an update is available.\nIn interactive mode, it also asks the user whether they want to download and install the update.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eYou may also want to read \u003ca href=\"#terminal-commands\"\u003eTerminal Commands\u003c/a\u003e \u0026gt; \u003ccode\u003eExit Codes\u003c/code\u003e below.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003chr /\u003e\n\u003ch2 id=\"default-configuration\"\u003eDEFAULT CONFIGURATION\u003ca class=\"headerlink\" href=\"#default-configuration\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cdiv class=\"highlight\"\u003e\u003cpre\u003e#DC#\n\nconfigVerCode=202310160\n\nallowIdleAbovePcap=true\nampFactor=\nbattStatusWorkaround=true\ncapacity=(5 50 70 75 false false)\ncooldownCurrent=\ncooldownRatio=()\ncurrentWorkaround=false\ndischargePolarity=\nforceOff=false\nidleThreshold=40\nlanguage=en\noffMid=true\nprioritizeBattIdleMode=true\nrebootResume=false\nresetBattStats=(false false false)\ntemperature=(35 50 45 55)\ntempLevel=0\nvoltFactor=\n\napplyOnBoot=()\n\napplyOnPlug=()\n\nbattStatusOverride=\u0026#39;\u0026#39;\n\nchargingSwitch=()\n\ncooldownCustom=()\n\nmaxChargingCurrent=()\n\nmaxChargingVoltage=()\n\nrunCmdOnPause=\u0026#39;\u0026#39;\n\n\n\n// WARNINGS\n\n// Do not edit this in Windows Notepad, ever!\n// It replaces LF (Linux/Unix) with CRLF (Windows) line endings.\n\n// Nullifying values that should not be null causes unexpected behavior.\n// However, doing so with \u0026quot;--set var=\u0026quot; restores the default value of \u0026quot;var\u0026quot;.\n// In other words, for regular users, \u0026quot;--set\u0026quot; is safer than modifying the config file directly.\n\n// Do not feel like you must configure everything!\n// Do not change what you don\u0026#39;t understand.\n\n\n\n// NOTE\n\n// The daemon does not have to be restarted to apply changes. It picks them up automatically within seconds.\n\n\n\n// INTERNAL FUNCTIONS\n\n// at H:MM \u0026#39;command...\u0026#39;   scheduler\n// e.g.,\n//   at 2:14 acc --notif \u0026#39;2:14 AM now!\u0026#39;\n//   at 22:30 acc --notif \u0026#39;22:30 now!\u0026#39;\n\n// calc \u0026lt;operation...\u0026gt;   float  calculator\n\n// set_temp_level \u0026lt;0-100\u0026gt;   refer to temp_level (tl) below\n\n// $(voltage_now)   prints the instantaneous charging voltage\n\n\n\n// INTERNAL VARIABLES\n\n// $batt   expands to the /sys/class/power_supply/battery (or equivalent) directory\n// $battCapacity   $batt/capacity file\n// $battStatus   $batt/status file\n// $currFile   current_now file\n// $temp   temperature reporting file\n// $isAccd   true|false (whether accd in running)\n// _$status   Charging|Discharging|Idle\n\n\n\n// DATE\n// $(date +FORMAT)\n// FORMAT specifies display format string using strftime(3) syntax:\n\n// %% literal %             %n newline              %t tab\n// %S seconds (00-60)       %M minute (00-59)       %m month (01-12)\n// %H hour (0-23)           %I hour (01-12)         %p AM/PM\n// %y short year (00-99)    %Y year                 %C century\n// %a short weekday name    %A weekday name         %u day of week (1-7, 1=mon)\n// %b short month name      %B month name           %Z timezone name\n// %j day of year (001-366) %d day of month (01-31) %e day of month ( 1-31)\n// %N nanosec (output only)\n\n// %U Week of year (0-53 start sunday)   %W Week of year (0-53 start monday)\n// %V Week of year (1-53 start monday, week \u0026lt; 4 days not part of this year)\n\n// %F \u0026quot;%Y-%m-%d\u0026quot;     %R \u0026quot;%H:%M\u0026quot;        %T \u0026quot;%H:%M:%S\u0026quot;    %z numeric timezone\n// %D \u0026quot;%m/%d/%y\u0026quot;     %r \u0026quot;%I:%M:%S %p\u0026quot;  %h \u0026quot;%b\u0026quot;          %s unix epoch time\n// %x locale date    %X locale time    %c locale date/time\n\n\n\n// VALUES\n\n// allowIdleAbovePcap=allow_idle_above_pcap=BOOLEAN\n\n// ampFactor=amp_factor=MULTIPLIER NULLABLE\n\n// applyOnBoot=apply_on_boot=([CTRL_FILE1::RAW_VALUE[::DEFAULT]] [CTRL_FILE2::RAW_VALUE[::DEFAULT]...] [--exit]) NULLABLE\n\n// applyOnPlug=apply_on_plug=([CTRL_FILE1::RAW_VALUE[::DEFAULT]] [CTRL_FILE2::RAW_VALUE[::DEFAULT]...]) NULLABLE\n\n// battStatusOverride=batt_status_override=Idle|Discharging|\u0026#39;code to PRINT value for _status\u0026#39; NULLABLE\n\n// battStatusWorkaround=batt_status_workaround=BOOLEAN\n\n// capacity=(shutdown_capacity=INT cooldown_capacity=INT resume_capacity=INT pause_capacity=INT capacity_sync=auto|true|false capacity_mask=BOOLEAN)\n\n// chargingSwitch=charging_switch=([CTRL_FILE1 ON OFF [CTRL_FILE2 ON OFF...] [--]]) NULLABLE\n\n// cooldownCurrent=cooldown_current=MILLIAMPS NULLABLE\n\n// cooldownCustom=cooldown_custom=(FILE THRESHOLD CHARGE_SECONDS PAUSE_SECONDS) NULLABLE\n\n// cooldownRatio=(cooldown_charge cooldown_pause) SECONDS,NULLABLE\n\n// currentWorkaround=current_workaround=BOOLEAN\n\n// dischargePolarity=discharge_polarity=+|- NULLABLE\n\n// forceOff=force_off=BOOLEAN\n\n// idleThreshold=idle_threshold=MILLIAMPS\n\n// language=lang=LANGUAGE_CODE NULLABLE\n\n// maxChargingCurrent=max_charging_current=(MILLIAMPS [CTRL_FILE1::RAW_VALUE::DEFAULT CTRL_FILE2::RAW_VALUE::DEFAULT...]) NULLABLE\n\n// maxChargingVoltage=max_charging_voltage=(MILLIVOLTS [CTRL_FILE1::RAW_VALUE::DEFAULT CTRL_FILE2::RAW_VALUE::DEFAULT...] [--exit]) NULLABLE\n\n// offMid=off_mid=BOOLEAN\n\n// prioritizeBattIdleMode=prioritize_batt_idle_mode=true|false|no\n\n// rebootResume=reboot_resume=BOOLEAN\n\n// resetBattStats=(reset_batt_stats_on_pause reset_batt_stats_on_unplug reset_batt_stats_on_plug) BOOLEAN\n\n// runCmdOnPause=run_cmd_on_pause=\u0026#39;COMMAND...\u0026#39; NULLABLE\n\n// temperature=(cooldown_temp=ºC max_temp=ºC resume_temp=ºC[r] shutdown_temp=ºC)\n\n// tempLevel=temp_level=PERCENT (0-100)\n\n// voltFactor=volt_factor=MULTIPLIER NULLABLE\n\n\n\n// ALIASES (for use with --set only)\n\n// allow_idle_above_pcap aiapc\n// amp_factor af\n// apply_on_boot ab\n// apply_on_plug ap\n// batt_status_override bso\n// batt_status_workaround bsw\n// capacity_mask cm\n// capacity_sync cs\n// charging_switch s\n// cooldown_capacity cc\n// cooldown_charge cch\n// cooldown_current cdc\n// cooldown_custom ccu\n// cooldown_pause cp\n// cooldown_temp ct\n// current_workaround cw\n// discharge_polarity dp\n// force_off fo\n// idle_threshold it\n// lang l\n// max_charging_current mcc\n// max_charging_voltage mcv\n// max_temp mt\n// resume_temp rt\n// off_mid om\n// pause_capacity pc\n// prioritize_batt_idle_mode pbim\n// reboot_resume rr\n// reset_batt_stats_on_pause rbsp\n// reset_batt_stats_on_plug rbspl\n// reset_batt_stats_on_unplug rbsu\n// resume_capacity rc\n// run_cmd_on_pause rcp\n// shutdown_capacity sc\n// shutdown_temp st\n// temp_level tl\n// volt_factor vf\n\n\n\n// FINE, BUT WHAT DOES EACH OF THESE VARIABLES ACTUALLY MEAN?\n\n\n// configVerCode #\n// This is checked during updates to determine whether the config should be patched. Do NOT modify.\n// The value is not necessarily the same as acc version code.\n\n\n// allow_idle_above_pcap (aiapc) # Default: true\n// If set to false, accd will avoid idle mode (if possible) when capacity \u0026gt; pause_capacity.\n// This is useful for forever-plugged setups, where battery longevity is a top priority.\n// Idle mode is good, but \u0026quot;storing\u0026quot; a highly charged battery for a LONG time is a bad idea.\n\n\n// amp_factor (af) # Default: null\n// volt_factor (vf) #\n// Unit multiplier for conversion (e.g., 1V = 1000000 microvolts).\n// ACC can automatically determine the units, but the mechanism is not 100% foolproof.\n// Leave those properties alone, unless current/voltage info is wrong.\n\n\n// apply_on_boot (ab) # Default: null\n// Kernel settings to apply on boot and on daemon start/restart.\n// The --exit flag (refer back to applyOnBoot=...) tells the daemon to stop after applying settings.\n// If that flag is not included, default values are restored when the daemon stops.\n\n\n// apply_on_plug (ap) # Default: null\n// Kernel settings to apply on plug.\n// This exists because certain devices reset control files (e.g., current_max) when the charger is re-plugged.\n// Default values are restored when the daemon stops.\n\n\n// batt_status_override (bso) # Default: null\n\n// Overrides the battery status determined by the not_charging function.\n// It can be Idle, Discharging (both case sensitive), or logic to PRINT the desired value for the _status variable.\n// When set to Idle or Discharging, _status will be set to that value if the enforced* charging switch state is off.\n// It only works in conjunction with an enforced charging switch (set manually, has a trailing \u0026quot; --\u0026quot;).\n\n// Usage scenario: the switch \u0026quot;main/cool_mode 0 1\u0026quot; supports idle mode. However, sometimes it does not respond soon enough (e.g., due to fast charging). The user can then enforce it with \u0026quot;acc -ss\u0026quot; and set \u0026quot;batt_status_override=Idle\u0026quot;. This means, when \u0026quot;main/cool_mode\u0026quot; is \u0026quot;on\u0026quot; (0), _status will be determined by the not_charging function (as usual), but when it\u0026#39;s off (1), _status will be Idle, bypassing the not_charging function.\n\n// If the user were to write their own logic, it would be something like the following:\n// batt_status_override=\u0026#39;[ $(cat main/cool_mode) -eq 1 ] \u0026amp;\u0026amp; printf Idle || :\u0026#39;\n// The \u0026quot;|| :\u0026quot; part is mandatory to avoid issues with \u0026quot;set -e\u0026quot;, which acc uses extensively.\n\n\n// batt_status_workaround (bsw) # Default: true\n// With this enabled, in addition to just reading POWER_SUPPLY_STATUS, if the battery is \u0026quot;Charging\u0026quot; and current is within idle_threshold (inclusive), battery status is considered \u0026quot;Idle\u0026quot;.\n// Status is considered \u0026quot;Discharging\u0026quot;, if current polarity changes after calling the disable_charging function.\n// By not relying solely on the information provided by POWER_SUPPLY_STATUS, this approach dramatically boosts compatibility.\n// This must be disabled on systems that report wrong/misleading charging current values.\n\n\n// capacity_mask (cm) # Default: false\n// Implies capacity_sync.\n// This forces Android to report \u0026quot;capacity = (capacity - shutdown _capacity) * 100 / (pause_capacity - shutdown_capacity)\u0026quot;, effectively masking capacity limits.\n// It also prevents Android from getting capacity readings below 2%, since some systems shutdown before battery level actually drops to 0%.\n// Use case: secretly install acc on a relative\u0026#39;s device, and enable this, so that they always see the regular 0-100% battery level scale.\n\n\n// capacity_sync (cs) # Default: false\n// Some devices, notably from the Pixel lineup, have a capacity discrepancy issue between Android\u0026#39;s battery service and the kernel.\n// capacity_sync forces Android to report the actual battery capacity reported by the kernel.\n// Besides, it also prevents Android from getting capacity readings below 2%, since some systems shutdown before battery level actually drops to 0%.\n\n\n// charging_switch (s) # Default: null (automatic)\n\n// If unset, acc cycles through its database and sets the first switch/group that successfully disables charging.\n// If later the set switch/group fails, acc unsets it and repeats the above.\n// If all switches fail to disable charging, chargingSwitch is unset and acc/d exit with error code 7.\n\n// This automated process can be disabled by appending \u0026quot; --\u0026quot; to the switch/group.\n// e.g., acc -s s=\u0026quot;battery/charging_enabled 1 0 --\u0026quot;\n// \u0026quot;acc -ss\u0026quot; always appends \u0026quot; --\u0026quot;.\n\n\n// cooldown_capacity (cc) # Default: 50\n// Battery level or millivolts at which the cooldown cycle starts.\n// Cooldown reduces battery stress induced by prolonged exposure to high temperature and high charging voltage.\n// It does so through periodically pausing charging for a few seconds (cooldown_pause, more details below).\n// Requires cooldown_current or cooldown_charge and cooldown_pause, explained next.\n\n\n// cooldown_charge (cch) # Default: null\n// cooldown_pause (cp) # Default: null\n\n// Those two dictate the cooldown cycle intervals (seconds).\n// When not set, the cycle is disabled, unless cooldown_current is set.\n// Suggested values are cch=50 and cp=10.\n// If charging gets a bit slower than desired, try cch=50 and cp=5.\n// Note that cooldown_capacity and cooldown_temp can be disabled individually by assigning them values that would never be reached under normal circumstances.\n// cooldown_current optionally works with ratios as well (cooldown_charge: regular current, cooldown_pause: cooldown_current).\n\n\n// cooldown_current (cdc) # Default: null\n// Instead of pausing charging for cooldown_pause seconds, limit the max charging current (e.g., to 500 mA).\n// cooldown_pause and cooldown_charge are optional.\n// Note: devices don\u0026#39;t support just about any current value. Multiples of 500 mA tend to have higher compatibility.\n\n\n// cooldown_custom (ccu) # Default: null\n// When cooldown_capacity and/or cooldown_temp don\u0026#39;t suit your needs, this comes to the rescue.\n// It overrides the regular cooldown settings.\n\n\n// cooldown_temp (ct) # Default: 35\n// Temperature (°C) at which the cooldown cycle starts.\n// Cooldown reduces the battery degradation rate by lowering the device\u0026#39;s temperature.\n// Requires cooldown_current or cooldown_charge and cooldown_pause, explained above.\n\n\n// current_workaround (cw) # Default: false\n// Only use current control files whose paths match \u0026quot;batt\u0026quot;.\n// This is necessary only if the current limit affects both input and charging current values.\n// Try this if low current values don\u0026#39;t work.\n\n\n// discharge_polarity (dp) # Default: null\n// This overrides the automatic current polarity (+|-) detection.\n// It\u0026#39;s only relevant when batt_status_workaround=true.\n// Polarity may change with a kernel upgrade. If this setting is wrong, charging control won\u0026#39;t work if batt_status_workaround is on.\n\n\n// force_off (fo) # Default: false\n// Enable this only if the set charging switch is stubbornly reset by the system.\n// Oftentimes, userspace thermal management daemons (e.g., mi_thermald) and/or driver issues are behind charging control issues.\n// Some people \u0026quot;systemlessly\u0026quot; disable certain thermal daemons with Magisk. While this is not a general recommendation, they swear by it.\n\n\n// idle_threshold (it) # Default: 40\n// Current threshold (absolute value) in milliamps to consider _status=Idle (only relevant if batt_status_workaround=true).\n\n\n// lang (l) # Default: en\n// Display language, when null, English (en) is assumed.\n\n\n// max_charging_current (mcc) # Default: null\n// max_charging_voltage (mcv) # Default: null\n\n// Control files are automatically added by accd when the array has just one element (the milliamps/millivolts value).\n// If the second element of the array (array[1]) starts with \u0026quot;-\u0026quot;, accd recognizes it as an instruction to update the control files.\n// This is useful for setting/changing current and voltage limits without a frontend (--set or app).\n// Simply put, if the user has the following in their config, accd automatically adds/updates the control files:\n//   maxChargingCurrent=(1000) # Control files will be added.\n//   maxChargingVoltage=(4000 -battery/voltage_max bms/voltage_max) # Control files will be updated. The \u0026quot;-\u0026quot; is mandatory after changing the value (first element). Otherwise, the change has no effect.\n\n// Notes:\n//   Devices don\u0026#39;t support just about any current value. Multiples of 500 mA tend to have higher compatibility.\n//   The maximum current that can be set via dedicated commands is 9999 mA. For voltage, the max is 4300 mV. One can override those by manually editing the config.\n\n\n// max_temp (mt) # Default: 50\n// resume_temp (rt) # Default: 45\n\n// Those two work together and are NOT tied to the cooldown cycle.\n// At max_temp, charging is paused.\n// Charging resumes at resume_temp, as long as other conditions (e.g., resume_capacity) are also met.\n// To always override resume_capacity append r, as in resume_temp=25r. With this, if cooldown is enabled, charging will also resume at the cooldown_temp threshold. Add cooldown_current and mcc into the mix to have temperature dependent restricted current.\n\n\n// off_mid (om) # Default: true\n// Whether to turn off charging after rebooting the system or restarting accd, if capacity is within resume_capacity and pause_capacity.\n\n\n// one-line scripts # Default: none\n\n// Every line that begins with \u0026quot;:\u0026quot; is interpreted as a shell script.\n// This feature can be useful for many things, including setting up persistent config profiles (source a file that overrides the main config).\n// All script lines are executed whenever the config is loaded/sourced.\n// This happens regularly while the daemon is running, and at least once per command run.\n\n// Note: due to user data encryption, files used in one-line scripts must reside somewhere in /data/adb/, just like acc\u0026#39;s own data files. Ignore if your data isn\u0026#39;t encrypted.\n\n// Tip: One can schedule tasks with the following construct:\n// : sleep profile; at 22:00 \u0026#39;acc -s pc=50 mcc=500 mcv=3900; acc -n \u0026quot;Switched to night profile\u0026quot;\u0026#39;\n\n\n// pause_capacity (pc) # Default: 75\n// Battery level or millivolts at which charging should pause.\n\n\n// prioritize_batt_idle_mode (pbim) # Default: true\n\n// Battery idle mode, also called \u0026quot;standby mode\u0026quot; or \u0026quot;charging bypass\u0026quot;, is the ability of running off the charger, as if the battery were disconnected from the device.\n// Not all devices support this, but there\u0026#39;s also emulated idle mode (refer to the readme).\n// Emulated idle mode works on all devices.\n\n// If enabled, charging switches that support battery idle mode take precedence.\n// This is only relevant when the switch is automatically determined -- i.e., charging_switch is not set or it has no trailing \u0026quot; --\u0026quot;.\n// In other words, this variable is only used when acc is automatically testing charging switches.\n// When set to \u0026quot;no\u0026quot;, it has the opposite effect (prioritize non-idle mode).\n\n\n// reboot_resume (rr) # Default: false\n// Reboot (when capacity capacity is at or below resume_capacity) to re-enable charging.\n// This is only for devices whose switches can\u0026#39;t re-enable charging.\n// A warning notification is posted 60 seconds prior, for the user to block the action, if they so please.\n\n\n// reset_batt_stats_on_pause (rbsp) # Default: false\n// Reset battery stats after pausing charging.\n\n// reset_batt_stats_on_plug (rbspl) # Default: false\n// Reset battery stats seconds after plugging the charger.\n\n// reset_batt_stats_on_unplug (rbsu) # Default: false\n// Reset battery stats seconds after unplugging the charger.\n\n\n// resume_capacity (rc) # Default: 15\n// Battery level or millivolts at which charging should resume.\n\n\n// run_cmd_on_pause (rcp) # Default: null\n// Run commands* after pausing charging.\n// * Usually a script (\u0026quot;sh some_file\u0026quot; or \u0026quot;. some_file\u0026quot;)\n\n\n// shutdown_capacity (sc) # Default: 5\n// When the battery is discharging, its level/millivolts is at or below shutdown_capacity, and the device has been running for 15 minutes or more, acc daemon turns the device off to reduce the discharge rate, and protect the battery from potential damage, induced by voltage below the operating range.\n// A value of -1 disables it.\n\n\n// shutdown_temp (st) # Default: 55\n// Shutdown the system if battery temperature \u0026gt;= this value.\n\n\n// temp_level (tl) # Default: 0\n// This is a current limiting hack.\n// Some devices have adjustable \u0026quot;temperature levels\u0026quot;. At the highest level, charging current is blocked.\n// The stock values are generally integers, ranging from 0 to 6, 7 or so.\n// For greater flexibility, this variable stores a percentage value -- which is internally mapped to the system\u0026#39;s scales.\n\n#/DC#\n\u003c/pre\u003e\u003c/div\u003e\n\n\u003chr /\u003e\n\u003ch2 id=\"setupusage\"\u003eSETUP/USAGE\u003ca class=\"headerlink\" href=\"#setupusage\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eAs the \u003ca href=\"#default-configuration\"\u003edefault configuration\u003c/a\u003e (above) suggests, ACC is designed to run out of the box, with little to no customization/intervention.\u003c/p\u003e\n\u003cp\u003eThe only command you have to remember is \u003ccode\u003eacc\u003c/code\u003e.\nIt\u0026rsquo;s a wizard you\u0026rsquo;ll either love or hate.\u003c/p\u003e\n\u003cp\u003eIf you feel uncomfortable with the command line, skip this section and use a front-end app instead.\u003c/p\u003e\n\u003cp\u003eAlternatively, you can use a \u003ccode\u003etext editor\u003c/code\u003e to modify \u003ccode\u003e/data/adb/vr25/acc-data/config.txt\u003c/code\u003e.\nThe config file itself has configuration instructions.\nThose are the same found in the \u003ca href=\"#default-configuration\"\u003edefault configuration\u003c/a\u003e section, above.\u003c/p\u003e\n\u003ch3 id=\"terminal-commands\"\u003eTerminal Commands\u003ca class=\"headerlink\" href=\"#terminal-commands\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cdiv class=\"highlight\"\u003e\u003cpre\u003e#TC#\n\nUsage\n\n  acc   Wizard\n\n  accd   Start/restart accd\n\n  accd.   Stop acc/daemon\n\n  accd,   Print acc/daemon status (running or not)\n\n  acc [pause_capacity/millivolts [resume_capacity/millivolts, default: pause_capacity/millivolts - 5%/50mV]]\n    e.g.,\n      acc 75 70\n      acc 80 (resume_capacity defaults to 80% - 5)\n      acc 3900 (same as acc 3900 3870, great idle mode alternative)\n\n  acc [options] [args]   Refer to the list of options below\n\n  acca [options] [args]   acc optimized for front-ends\n\n  acc[d] -x [options] [args]   Sets log=/sdcard/Download/acc[d]-${device}.log; useful for debugging unwanted reboots\n\n  A custom config path can be specified as first parameter (second if -x is used).\n  If the file doesn\u0026#39;t exist, the current config is cloned.\n    e.g.,\n      acc /data/acc-night-config.txt --set pause_capacity=45 resume_capacity=43\n      acc /data/acc-night-config.txt --set --current 500\n      accd /data/acc-night-config.txt --init\n\n  Notes regarding accd:\n    - The order of \u0026quot;--init|-i\u0026quot; does not matter.\n    - The config path string shall not contain \u0026quot;--init|-i\u0026quot;.\n\n\nOptions\n\n  -b|--rollback   Undo upgrade\n\n  -c|--config [[editor] [editor_opts] | g for GUI]   Edit config (default editor: nano/vim/vi)\n    e.g.,\n      acc -c (edit w/ nano/vim/vi)\n      acc -c less\n      acc -c cat\n\n  -c|--config a|d string|regex   Append (a) or delete (d) string/pattern to/from config\n    e.g.,\n      acc -c a \u0026quot;: sleep profile; at 22:00 acc -s pc=50 mcc=500 mcv=3900\u0026quot; (append a schedule)\n      acc -c d sleep (remove all lines matching \u0026quot;sleep\u0026quot;)\n\n  -d|--disable [#%, #s, #m, #h or #mv (optional)]   Disable charging\n    e.g.,\n      acc -d 70% (do not recharge until capacity \u0026lt;= 70%)\n      acc -d 1h (do not recharge until 1 hour has passed)\n      acc -d 4000mv (do not recharge until battery voltage \u0026lt;= 4000mV)\n\n  -D|--daemon   Print daemon status, (and if running) version and PID\n    e.g., acc -D (alias: \u0026quot;accd,\u0026quot;)\n\n  -D|--daemon [start|stop|restart]   Manage daemon\n    e.g.,\n      acc -D start (alias: accd)\n      acc -D restart (alias: accd)\n      accd -D stop (alias: \u0026quot;accd.\u0026quot;)\n\n  -e|--enable [#%, #s, #m, #h or #mv (optional)]   Enable charging\n    e.g.,\n      acc -e 75% (recharge to 75%)\n      acc -e 30m (recharge for 30 minutes)\n      acc -e 4000mv (recharge to 4000mV)\n\n  -f|--force|--full [capacity] [additional options and args]   Charge once to a given capacity (default: 100%), without restrictions\n    e.g.,\n      acc -f 95 (charge to 95%)\n      acc -f (charge to 100%)\n      acc -f -sc 500 (charge to 100% with a 500 mA limit)\n\n  -F|--flash [\u0026quot;zip_file\u0026quot;]   Flash any zip files whose update-binary is a shell script\n    e.g.,\n      acc -F (lauches a zip flashing wizard)\n      acc -F \u0026quot;file1\u0026quot; \u0026quot;file2\u0026quot; \u0026quot;fileN\u0026quot; ... (install multiple zips)\n      acc -F \u0026quot;/sdcard/Download/Magisk-v20.0(20000).zip\u0026quot;\n\n  -h|--help [[editor] [editor_opts] | g for GUI]   Print this help text, plus the config\n\n  -H|--health \u0026lt;mAh\u0026gt;   Print estimated battery health\n\n  -i|--info [case insensitive egrep regex (default: \u0026quot;.\u0026quot;)]   Show battery info\n    e.g.,\n      acc -i\n      acc -i volt\n      acc -i \u0026#39;volt\\|curr\u0026#39;\n\n  -l|--log [-a|--acc] [[editor] [editor_opts] | g for GUI]   Print/edit accd log (default) or acc log (-a|--acc)\n    e.g.,\n      acc -l (same as acc -l less)\n      acc -l rm\n      acc -l -a cat\n      acc -l grep \u0026#39;: \u0026#39; (show explicit errors only)\n\n  -la   Same as -l -a\n\n  -l|--log -e|--export   Export all logs to /sdcard/Download/acc-logs-$deviceName.tgz\n    e.g., acc -l -e\n\n  -le   Same as -l -e\n\n  -n|--notif [[\u0026quot;STRING\u0026quot; (default: \u0026quot;:)\u0026quot;)] [USER ID (default: 2000 (shell))]]   Post Android notification; may not work on all systems\n    e.g., acc -n \u0026quot;Hello, World!\u0026quot;\n\n  -p|--parse [\u0026lt;base file\u0026gt; \u0026lt;file to parse\u0026gt;] | \u0026lt;file to parse\u0026gt;]   Helps find potential charging switches quickly, for any device\n    e.g.,\n      acc -p   Parse /logs/power_supply-\\*.log and print potential charging switches not present in /ch-switches\n      acc -p /sdcard/power_supply-harpia.log   Parse the given file and print potential charging switches that are not already in /ch-switches\n      acc -p /sdcard/charging-switches.txt /sdcard/power_supply-harpia.log   Parse /sdcard/power_supply-harpia.log and print potential charging switches absent from /sdcard/charging-switches.txt\n\n  -r|--readme [g for GUI]]   Open the manual\n\n  -R|--resetbs   Reset battery stats\n    e.g., acc -R\n\n  -s|--set   Print current config\n    e.g., acc -s\n\n  -s|--set prop1=value \u0026quot;prop2=value1 value2\u0026quot;   Set [multiple] properties\n    e.g.,\n      acc -s charging_switch=\n      acc -s pause_capacity=60 resume_capacity=55 (shortcuts: acc -s pc=60 rc=55, acc 60 55)\n      acc -s \u0026quot;charging_switch=battery/charging_enabled 1 0\u0026quot; resume_capacity=55 pause_capacity=60\n    Note: all properties have short aliases for faster typing; run \u0026quot;acc -c cat\u0026quot; to see them\n\n  -s|--set c|--current [milliamps|-]   Set/print/restore_default max charging current (range: 0-9999 Milliamps)\n    e.g.,\n      acc -s c (print current limit)\n      acc -s c 500 (set)\n      acc -s c - (restore default)\n\n  -sc [milliamps|-]   Same as above\n\n  -s|--set l|--lang   Change language\n    e.g., acc -s l\n\n  -sl   Same as above\n\n  -s|--set d|--print-default [egrep regex (default: \u0026quot;.\u0026quot;)]   Print default config without blank lines\n    e.g.,\n      acc -s d (print entire defaul config)\n      acc -s d cap (print only entries matching \u0026quot;cap\u0026quot;)\n\n  -sd [egrep regex (default: \u0026quot;.\u0026quot;)]   Same as above\n\n  -s|--set p|--print [egrep regex (default: \u0026quot;.\u0026quot;)]   Print current config without blank lines (refer to previous examples)\n\n  -sp [egrep regex (default: \u0026quot;.\u0026quot;)]   Same as above\n\n  -s|--set r|--reset [a]   Restore default config (\u0026quot;a\u0026quot; is for \u0026quot;all\u0026quot;: config and control file blacklists, essentially a hard reset)\n    e.g.,\n      acc -s r\n\n  -sr [a]   Same as above\n\n\n  -s|--set s|charging_switch   Enforce a specific charging switch\n    e.g., acc -s s\n\n  -ss    Same as above\n\n  -s|--set s:|chargingSwitch:   List known charging switches\n    e.g., acc -s s:\n\n  -ss:   Same as above\n\n  -s|--set v|--voltage [millivolts|-] [--exit]   Set/print/restore_default max charging voltage (range: 3700-4300 Millivolts)\n    e.g.,\n      acc -s v (print)\n      acc -s v 3900 (set)\n      acc -s v - (restore default)\n      acc -s v 3900 --exit (stop the daemon after applying settings)\n\n  -sv [millivolts|-] [--exit]   Same as above\n\n  -t|--test [ctrl_file1 on off [ctrl_file2 on off]]   Test custom charging switches\n    e.g.,\n      acc -t battery/charging_enabled 1 0\n      acc -t /proc/mtk_battery_cmd/current_cmd 0::0 0::1 /proc/mtk_battery_cmd/en_power_path 1 0 (\u0026quot;::\u0026quot; is a placeholder for \u0026quot; \u0026quot; - MTK only)\n\n  -t|--test [file]   Test charging switches from a file (default: /ch-switches)\n    e.g.,\n      acc -t (test known switches)\n      acc -t /sdcard/experimental_switches.txt (test custom/foreign switches)\n\n  -t|--test [p|parse]   Parse potential charging switches from the power supply log (as \u0026quot;acc -p\u0026quot;), test them all, and add the working ones to the list of known switches\n    Implies -x, as acc -x -t p\n    e.g., acc -t p\n\n  -T|--logtail   Monitor accd log (tail -F)\n    e.g., acc -T\n\n  -u|--upgrade [-c|--changelog] [-f|--force] [-k|--insecure] [-n|--non-interactive]   Online upgrade/downgrade\n    e.g.,\n      acc -u dev (upgrade to the latest dev version)\n      acc -u (latest version from the current branch)\n      acc -u master^1 -f (previous stable release)\n      acc -u -f dev^2 (two dev versions below the latest dev)\n      acc -u v2020.4.8-beta --force (force upgrade/downgrade to v2020.4.8-beta)\n      acc -u -c -n (if update is available, prints version code (integer) and changelog)\n      acc -u -c (same as above, but with install prompt)\n\n  -U|--uninstall   Completely remove acc and AccA\n    e.g., acc -U\n\n  -v|--version   Print acc version and version code\n    e.g., acc -v\n\n  -w#|--watch#   Monitor battery uevent\n    e.g.,\n      acc -w (update info every second)\n      acc -w0.5 (update info every half a second)\n      acc -w0 (no extra delay)\n\n\nExit Codes\n\n  0. True/success\n  1. False or general failure\n  2. Incorrect command syntax\n  3. Missing busybox binary\n  4. Not running as root\n  5. Update available (\u0026quot;--upgrade\u0026quot;)\n  6. No update available (\u0026quot;--upgrade\u0026quot;)\n  7. Failed to disable charging\n  8. Daemon already running (\u0026quot;--daemon start\u0026quot;)\n  9. Daemon not running (\u0026quot;--daemon\u0026quot; and \u0026quot;--daemon stop\u0026quot;)\n  10. All charging switches fail (--test)\n  11. Current (mA) out of 0-9999 range\n  12. Initialization failed\n  13. Failed to lock /acc.lock\n  14. ACC won\u0026#39;t initialize, because the Magisk module disable flag is set\n  15. Idle mode is supported (--test)\n  16. Failed to enable charging (--test)\n\n  Logs are exported automatically (\u0026quot;--log --export\u0026quot;) on exit codes 1, 2 and 7.\n\n\nTips\n\n  Commands can be chained for extended functionality.\n    e.g., charge for 30 minutes, pause charging for 6 hours, charge to 85% and restart the daemon\n    acc -e 30m \u0026amp;\u0026amp; acc -d 6h \u0026amp;\u0026amp; acc -e 85 \u0026amp;\u0026amp; accd\n  One can take advantage of one-line scripts and the built-in \u0026quot;at\u0026quot; function to schedule profiles (refer back to -c|--config).\n\n  Sample profile\n    acc -s pc=60 mcc=500 mcv=3900\n      This keeps battery capacity between 55-60%, limits charging current to 500 mA and voltage to 3900 millivolts.\n      It\u0026#39;s great for nighttime and \u0026quot;forever-plugged\u0026quot;.\n\n  Refer to acc -r (or --readme) for the full documentation (recommended)\n\n#/TC#\n\u003c/pre\u003e\u003c/div\u003e\n\n\u003chr /\u003e\n\u003ch2 id=\"plugins\"\u003ePLUGINS\u003ca class=\"headerlink\" href=\"#plugins\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eThose are scripts that override functions and some global variables.\nThey should be placed in \u003ccode\u003e/data/adb/vr25/acc-data/plugins/\u003c/code\u003e.\nFiles are sorted and sourced.\nFilenames shall not contain spaces.\nHidden files and those without the \u003ccode\u003e.sh\u003c/code\u003e extension are ignored.\u003c/p\u003e\n\u003cp\u003eThere are also \u003cem\u003evolatile\u003c/em\u003e plugins (gone on reboot, useful for debugging): \u003ccode\u003e/dev/.vr25/acc/plugins/\u003c/code\u003e.\nThose override the permanent.\u003c/p\u003e\n\u003cp\u003eA daemon restart is required to load new/modified plugins.\u003c/p\u003e\n\u003cp\u003eAn alternative to plugins are one-line scripts. Refer to the \u003ca href=\"#default-configuration\"\u003edefault configuration\u003c/a\u003e section above.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"notestips-for-front-end-developers\"\u003eNOTES/TIPS FOR FRONT-END DEVELOPERS\u003ca class=\"headerlink\" href=\"#notestips-for-front-end-developers\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003ch3 id=\"basics\"\u003eBasics\u003ca class=\"headerlink\" href=\"#basics\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eACC does not require KernelSU/Magisk.\nAny root solution works, as long as busybox is installed.\u003c/p\u003e\n\u003cp\u003eUse \u003ccode\u003e/dev/.vr25/acc/acca\u003c/code\u003e instead of regular \u003ccode\u003eacc\u003c/code\u003e.\nIt\u0026rsquo;s optimized for front-ends, guaranteed to be readily available after installation/upgrades and significantly faster than its \u003ccode\u003eacc\u003c/code\u003e counterpart.\n\u003ccode\u003eacca --set prop1=bla prop2=\"bla bla\" ...\u003c/code\u003e runs asynchronously (non-blocking mode) - meaning, multiple instances of it work in parallel.\u003c/p\u003e\n\u003cp\u003eIt may be best to use long options over short equivalents - e.g., \u003ccode\u003e--set charging_switch=\u003c/code\u003e instead of \u003ccode\u003e-s s=\u003c/code\u003e.\nThis makes code more readable (less cryptic).\u003c/p\u003e\n\u003cp\u003eInclude provided descriptions of ACC features/settings in your app(s).\nProvide additional information (trusted) where appropriate.\nExplain settings/concepts as clearly and with as few words as possible.\u003c/p\u003e\n\u003cp\u003eTake advantage of acc exit codes.\nRefer back to \u003ccode\u003eSETUP/USAGE \u0026gt; [Terminal Commands](#terminal-commands) \u0026gt; Exit Codes\u003c/code\u003e.\u003c/p\u003e\n\u003ch3 id=\"installingupgrading-acc\"\u003eInstalling/Upgrading ACC\u003ca class=\"headerlink\" href=\"#installingupgrading-acc\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eThis should be trivial.\nThe simplest way is flashing acc from a KernelSU/Magisk module manager.\u003c/p\u003e\n\u003cp\u003eAlternatively, \u003ccode\u003einstall.sh\u003c/code\u003e, \u003ccode\u003einstall-online.sh\u003c/code\u003e or \u003ccode\u003einstall-tarball.sh\u003c/code\u003e can be used.\nFor details, refer back to \u003ca href=\"#install-from-local-source-or-github\"\u003einstall from local source or GitHub\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eDevelopers can also use the \u003cem\u003eupdateJSON\u003c/em\u003e API.\nThe front-end downloads and parses \u003ca href=\"https://raw.githubusercontent.com/VR-25/acc/master/module.json\"\u003ethis JSON file\u003c/a\u003e.\nThe format is as follows:\u003c/p\u003e\n\u003cdiv class=\"highlight\"\u003e\u003cpre\u003e{\n    \u0026quot;busybox\u0026quot;: \u0026quot;https://github.com/Magisk-Modules-Repo/busybox-ndk\u0026quot;,\n    \u0026quot;changelog\u0026quot;: \u0026quot;https://raw.githubusercontent.com/VR-25/acc/master/changelog.md\u0026quot;,\n    \u0026quot;curl\u0026quot;: \u0026quot;https://github.com/Zackptg5/Cross-Compiled-Binaries-Android/tree/master/curl\u0026quot;,\n    \u0026quot;tgz\u0026quot;: \u0026quot;https://github.com/VR-25/acc/releases/download/$version/acc_${version}_${versionCode}.tgz\u0026quot;,\n    \u0026quot;tgzInstaller\u0026quot;: \u0026quot;https://github.com/VR-25/acc/releases/download/$version/install-tarball.sh\u0026quot;,\n    \u0026quot;version\u0026quot;: \u0026quot;STRING\u0026quot;,\n    \u0026quot;versionCode\u0026quot;: INT,\n    \u0026quot;zipUrl\u0026quot;: \u0026quot;https://github.com/VR-25/acc/releases/download/$version/acc_${version}_${versionCode}.zip\u0026quot;\n}\n\u003c/pre\u003e\u003c/div\u003e\n\n\u003ch3 id=\"uninstalling-acc\"\u003eUninstalling ACC\u003ca class=\"headerlink\" href=\"#uninstalling-acc\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eEither run \u003ccode\u003e/dev/.vr25/acc/uninstall\u003c/code\u003e (no reboot required) or uninstall from KernelSU/Magisk module manager and reboot.\u003c/p\u003e\n\u003ch3 id=\"initializing-acc\"\u003eInitializing ACC\u003ca class=\"headerlink\" href=\"#initializing-acc\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eOn \u003ccode\u003eboot_completed\u003c/code\u003e receiver and \u003ccode\u003emain activity\u003c/code\u003e, run:\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003etest -f /dev/.vr25/acc/acca || /data/adb/vr25/acc/service.sh\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eExplanation:\u003c/p\u003e\n\u003cp\u003eACC\u0026rsquo;s working environment must be initialized - i.e., by updating the stock charging config (for restoring without a reboot) and pre-processing data for greater efficiency.\nThis is done exactly once after boot.\nIf it were done only after installation/upgrade, one would have to reinstall/upgrade acc after every kernel update.\nThat\u0026rsquo;s because kernel updates often change the default power supply drivers\u0026rsquo; settings.\u003c/p\u003e\n\u003cp\u003eSince acc\u0026rsquo;s core executables are dynamic ([expected to] change regularly), those are linked to \u003ccode\u003e/dev/.vr25/acc/\u003c/code\u003e to preserve the APIs.\nThe links must be recreated once after boot (since \u003ccode\u003e/dev/\u003c/code\u003e is volatile).\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eaccd\u003c/code\u003e is a symbolic link to \u003ccode\u003eservice.sh\u003c/code\u003e.\nIf service.sh is executed every time the \u003ccode\u003emain activity\u003c/code\u003e is launched, accd will be repeatedly restarted for no reason. Thus, we run \u003ccode\u003etest -f /dev/.vr25/acc/acca || /data/adb/vr25/acc/service.sh\u003c/code\u003e, as opposed to just \u003ccode\u003e/data/adb/vr25/acc/service.sh\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eNotes\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eThis \u0026ldquo;manual\u0026rdquo; initialization is only \u003cem\u003estrictly\u003c/em\u003e required for non KernelSU/Magisk installs \u0026ndash; and only once per boot session. In other words, KernelSU and Magisk already run \u003ccode\u003eservice.sh\u003c/code\u003e shortly after boot.\u003c/li\u003e\n\u003cli\u003eACC\u0026rsquo;s installer always initializes it.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3 id=\"managing-acc\"\u003eManaging ACC\u003ca class=\"headerlink\" href=\"#managing-acc\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eAs already stated, front-ends should use the executable \u003ccode\u003e/dev/.vr25/acc/acca\u003c/code\u003e.\nRefer to the \u003ca href=\"#default-configuration\"\u003edefault configuration\u003c/a\u003e and \u003ca href=\"#terminal-commands\"\u003eterminal commands\u003c/a\u003e sections above.\u003c/p\u003e\n\u003cp\u003eThe default config reference has a section entitled variable aliases/shortcuts.\nUse ONLY those with \u003ccode\u003e/dev/.vr25/acc/acca --set\u003c/code\u003e!\u003c/p\u003e\n\u003cp\u003eTo clarify, \u003ccode\u003e/dev/.vr25/acc/acca --set chargingSwitch=...\u003c/code\u003e is not supported!\nUse either \u003ccode\u003es\u003c/code\u003e or \u003ccode\u003echarging_switch\u003c/code\u003e.\n\u003ccode\u003echargingSwitch\u003c/code\u003e and all the other \u0026ldquo;camelcase\u0026rdquo; style variables are for internal use only (i.e., private APIs).\u003c/p\u003e\n\u003cp\u003eDo not parse the config file directly.\nUse \u003ccode\u003e--set --print ['regex']\u003c/code\u003e and \u003ccode\u003e--set --print-default ['regex']\u003c/code\u003e.\nRefer back to \u003ca href=\"#terminal-commands\"\u003eterminal commands\u003c/a\u003e for details.\u003c/p\u003e\n\u003ch3 id=\"the-output-of-info\"\u003eThe Output of \u0026ndash;info\u003ca class=\"headerlink\" href=\"#the-output-of-info\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eIt comes from the kernel, not acc itself.\nSome kernels provide more information than others.\u003c/p\u003e\n\u003cp\u003eMost of the lines are either unnecessary (e.g., type: everyone knows that already) or unreliable (e.g., health, speed).\u003c/p\u003e\n\u003cp\u003eHere\u0026rsquo;s what one should focus on:\n\u003cdiv class=\"highlight\"\u003e\u003cpre\u003eHEALTH=Good # Battery health\nCAPACITY=50 # Battery level, 0-100\nCURRENT_NOW=0 # Charging current (Amps)\nPOWER_NOW=0 # (CURRENT_NOW * VOLTAGE_NOW) (Watts)\nSTATUS=Charging # Charging, Discharging or Idle (Not charging)\nTEMP=281 # Always in (ºC * 10)\nVOLTAGE_NOW=3.861 # Charging voltage (Volts)\n\u003c/pre\u003e\u003c/div\u003e\nNote: the power information refers to what is actually supplied to the battery, not what\u0026rsquo;s coming from the adapter.\nExternal power is always converted before it reaches the battery.\u003c/p\u003e\n\u003ch3 id=\"profiles\"\u003eProfiles\u003ca class=\"headerlink\" href=\"#profiles\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eThose are simply different config files.\nA config path can be supplied as first argument to \u003ccode\u003eacca\u003c/code\u003e and second to \u003ccode\u003eaccd\u003c/code\u003e executables.\u003c/p\u003e\n\u003cp\u003eExamples:\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eCopy the config:\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003eCurrent config: \u003ccode\u003e/dev/.vr25/acc/acca --config cat \u0026gt; /path/to/new/file\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eDefault config: \u003ccode\u003e/dev/.vr25/acc/acca /path/to/new/file --version\u003c/code\u003e (\u003ccode\u003e--version\u003c/code\u003e can be replaced with any option + arguments, as seen below.)\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eEdit the copy:\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003e/dev/.vr25/acc/acca /path/to/new/file --set pause_capacity=75 resume_capacity=70\u003c/code\u003e (if the file does not exist, it is created as a copy of the default config.)\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eUse the copy:\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003e/dev/.vr25/acc/accd --init /path/to/new/file\u003c/code\u003e (the daemon is restarted with the new config.)\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eBack to the main config:\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003e/dev/.vr25/acc/accd --init\u003c/code\u003e\u003c/p\u003e\n\u003ch3 id=\"more\"\u003eMore\u003ca class=\"headerlink\" href=\"#more\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eACC daemon does not have to be restarted after making changes to the config.\nIt picks up new changes within seconds.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"troubleshooting\"\u003eTROUBLESHOOTING\u003ca class=\"headerlink\" href=\"#troubleshooting\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003ch3 id=\"acc-t-results-are-inconsistent\"\u003eacc -t Results Are Inconsistent\u003ca class=\"headerlink\" href=\"#acc-t-results-are-inconsistent\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eRefer to \u0026ldquo;default config \u0026gt; batt_status_workaround\u0026rdquo;.\u003c/p\u003e\n\u003ch3 id=\"battery-capacity-level-doesnt-seem-right\"\u003eBattery Capacity (% Level) Doesn\u0026rsquo;t Seem Right\u003ca class=\"headerlink\" href=\"#battery-capacity-level-doesnt-seem-right\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eWhen Android\u0026rsquo;s battery level differs from that of the kernel, ACC daemon automatically syncs it by stopping the battery service and feeding it the real value every few seconds.\u003c/p\u003e\n\u003cp\u003eSome Pixel devices are known for having battery level discrepancies.\u003c/p\u003e\n\u003cp\u003eIf your device shuts down before the battery is actually empty, \u003ccode\u003ecapacity_sync\u003c/code\u003e or \u003ccode\u003ecapacity_mask\u003c/code\u003e may help.\nRefer to the \u003ca href=\"#default-configuration\"\u003edefault configuration\u003c/a\u003e section above for details.\u003c/p\u003e\n\u003ch3 id=\"charging-switch\"\u003eCharging Switch\u003ca class=\"headerlink\" href=\"#charging-switch\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eBy default, ACC uses whichever \u003ca href=\"https://github.com/VR-25/acc/blob/dev/acc/install/ctrl-files.sh\"\u003echarging switch\u003c/a\u003e works (\u0026ldquo;automatic\u0026rdquo; mode).\nHowever, things don\u0026rsquo;t always go well.\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003eSome switches are unreliable under certain conditions (e.g., while the screen is off).\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eOthers hold a \u003ca href=\"https://duckduckgo.com/lite/?q=wakelock\"\u003ewakelock\u003c/a\u003e.\nThis causes fast battery drain when charging is paused and the device remains plugged.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eCharging keeps being re-enabled by the system, seconds after acc daemon disables it.\nAs a result, the battery eventually charges to 100% capacity, regardless of pause_capacity.\nRefer to config \u0026gt; force_off.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eHigh CPU load (drains battery) was also reported.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eIn the worst case scenario, the battery status is reported as \u003ccode\u003edischarging\u003c/code\u003e, while it\u0026rsquo;s actually \u003ccode\u003echarging\u003c/code\u003e.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eIn such situations, one has to enforce a switch that works as expected.\nHere\u0026rsquo;s how to do it:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003eRun \u003ccode\u003eacc -t\u003c/code\u003e to see which switches work.\u003c/li\u003e\n\u003cli\u003eRun \u003ccode\u003eacc -ss\u003c/code\u003e to enforce a working switch.\u003c/li\u003e\n\u003cli\u003eTest the reliability of the set switch. If it doesn\u0026rsquo;t work properly, try another.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eSince not everyone is tech savvy, ACC daemon automatically applies settings for certain devices to minimize charging switch issues.\nThese are in \u003ccode\u003eacc/oem-custom.sh\u003c/code\u003e.\u003c/p\u003e\n\u003ch3 id=\"custom-max-charging-voltage-and-current-limits\"\u003eCustom Max Charging Voltage And Current Limits\u003ca class=\"headerlink\" href=\"#custom-max-charging-voltage-and-current-limits\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eUnfortunately, not all kernels support these features.\nWhile custom current limits are supported by most (at least to some degree), voltage tweaking support is \u003cem\u003eexceptionally\u003c/em\u003e rare.\u003c/p\u003e\n\u003cp\u003eThat said, the existence of potential voltage/current control file doesn\u0026rsquo;t necessarily mean these are writable* or the features, supported.\u003c/p\u003e\n\u003cp\u003e* Root is not enough.\nKernel level permissions forbid write access to certain interfaces.\u003c/p\u003e\n\u003cp\u003eSometimes, restoring the default current may not work without a system reboot.\nA workaround is setting the default max current value or any arbitrary high number (e.g., 9000 mA).\nDon\u0026rsquo;t worry about frying things.\nThe device will only draw the max it can take.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eWARNING\u003c/strong\u003e: limiting voltage causes battery state of charge (SoC) deviation on some devices.\nThe  battery management system self-calibrates constantly, though.\nThus, as soon as the default voltage limit is restored, it\u0026rsquo;ll start \u0026ldquo;fixing\u0026rdquo; itself.\u003c/p\u003e\n\u003cp\u003eLimiting current, on the other hand, has been found to be universally safe.\nSome devices do not support just any current value, though.\nThat\u0026rsquo;s not to say out-of-range values cause issues.\nThese are simply ignored.\u003c/p\u003e\n\u003cp\u003eIf low current values don\u0026rsquo;t work, try setting \u003ccode\u003ecurrent_workaround=true\u003c/code\u003e.\nRefer to the \u003ca href=\"#default-configuration\"\u003edefault configuration\u003c/a\u003e section for details.\u003c/p\u003e\n\u003cp\u003eOne can override the default lists of max charging current/voltage control files by copying \u003ccode\u003eacc/ctrl-files.sh\u003c/code\u003e to \u003ccode\u003e/data/adb/vr25/acc-data/plugins/\u003c/code\u003e and modifying it accordingly.\nNote that default limits must be restored prior to that to avoid the need for a system reboot.\nReminder: a daemon restart is required to load new/modified plugins.\u003c/p\u003e\n\u003ch3 id=\"diagnosticslogs\"\u003eDiagnostics/Logs\u003ca class=\"headerlink\" href=\"#diagnosticslogs\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eVolatile logs (gone on reboot) are stored in \u003ccode\u003e/dev/.vr25/acc/\u003c/code\u003e (\u003ccode\u003e.log\u003c/code\u003e files only).\nPersistent logs reside in \u003ccode\u003e/data/adb/vr25/acc-data/logs/\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eacc -le\u003c/code\u003e exports all acc logs, plus Magisk\u0026rsquo;s and extras to \u003ccode\u003e/data/adb/acc-data/logs/acc-$device_codename.tgz\u003c/code\u003e.\nThe logs do not contain any personal information and are never automatically sent to the developer.\nAutomatic exporting (local) happens under specific conditions (refer back to \u003ccode\u003eSETUP/USAGE \u0026gt; Terminal Commands \u0026gt; Exit Codes\u003c/code\u003e).\u003c/p\u003e\n\u003ch3 id=\"install-upgrade-stop-and-restart-processes-seem-to-take-too-long\"\u003eInstall, Upgrade, Stop and Restart Processes Seem to Take Too Long\u003ca class=\"headerlink\" href=\"#install-upgrade-stop-and-restart-processes-seem-to-take-too-long\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eThe daemon stop process implies complete reversal of changes made to the charging management system.\nSometimes, \u003cstrong\u003ethis requires the charger to be plugged\u003c/strong\u003e.\nThat\u0026rsquo;s because some devices have kernel bugs and/or bad charging driver implementations.\nThat said, accd is always stopped \u003cem\u003egracefully\u003c/em\u003e to ensure the restoration takes place.\nOne who knows what they\u0026rsquo;re doing, can force-stop accd by running \u003ccode\u003epkill -9 -f accd\u003c/code\u003e.\u003c/p\u003e\n\u003ch3 id=\"kernel-panic-and-spontaneous-reboots\"\u003eKernel Panic and Spontaneous Reboots\u003ca class=\"headerlink\" href=\"#kernel-panic-and-spontaneous-reboots\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eControl files that trigger these are automatically backlisted (commented out in \u003ccode\u003e/data/adb/acc-data/logs/write.log\u003c/code\u003e).\u003c/p\u003e\n\u003ch3 id=\"restore-default-config\"\u003eRestore Default Config\u003ca class=\"headerlink\" href=\"#restore-default-config\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eThis can potentially save a lot of time and grief.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eacc --set --reset\u003c/code\u003e, \u003ccode\u003eacc -sr\u003c/code\u003e or \u003ccode\u003erm /data/adb/vr25/acc-data/config.txt\u003c/code\u003e (failsafe)\u003c/p\u003e\n\u003ch3 id=\"samsung-charging-always-stops-at-70-capacity\"\u003eSamsung, Charging \u003cem\u003eAlways\u003c/em\u003e Stops at 70% Capacity\u003ca class=\"headerlink\" href=\"#samsung-charging-always-stops-at-70-capacity\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eThis is a device-specific issue (by design?).\nIt\u0026rsquo;s caused by the \u003cem\u003estore_mode\u003c/em\u003e charging control file.\nSwitch to \u003cem\u003ebatt_slate_mode\u003c/em\u003e to prevent it.\nRefer back to \u003ca href=\"#charging-switch\"\u003echarging switch\u003c/a\u003e above for details on that.\u003c/p\u003e\n\u003ch3 id=\"slow-charging\"\u003eSlow Charging\u003ca class=\"headerlink\" href=\"#slow-charging\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eAt least one of the following may be the cause:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eCharging current and/or voltage limits\u003c/li\u003e\n\u003cli\u003eCooldown cycle (non optimal charge/pause ratio, try 50/10 or 50/5)\u003c/li\u003e\n\u003cli\u003eTroublesome charging switch (refer back to \u003ccode\u003eTROUBLESHOOTING \u0026gt; Charging Switch\u003c/code\u003e)\u003c/li\u003e\n\u003cli\u003eWeak adapter and/or power cord\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3 id=\"unable-to-charge\"\u003eUnable to Charge\u003ca class=\"headerlink\" href=\"#unable-to-charge\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eRefer back to the \u003ca href=\"#warnings\"\u003ewarnings\u003c/a\u003e section above.\u003c/p\u003e\n\u003ch3 id=\"unexpected-reboots\"\u003eUnexpected Reboots\u003ca class=\"headerlink\" href=\"#unexpected-reboots\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eWrong/troublesome charging control files may trigger unwanted reboots.\nACC blacklist [some of] these automatically (registered in \u003ccode\u003e/data/adb/vr25/acc-data/logs/write.log\u003c/code\u003e, with a leading hashtag).\nSometimes, there may be false positives in there - i.e., due to unexpected reboots caused by something else. Thus, if a control file that used to work, suddenly does not, see if it was blacklisted (\u003ccode\u003eacc -t\u003c/code\u003e also reveals blacklisted switches).\nSend \u003ccode\u003ewrite.log\u003c/code\u003e to the developer once the reboots have stopped.\u003c/p\u003e\n\u003ch3 id=\"warp-vooc-and-other-fast-charging-tech\"\u003eWARP, VOOC and Other Fast Charging Tech\u003ca class=\"headerlink\" href=\"#warp-vooc-and-other-fast-charging-tech\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eCharging switches may not work reliably with the original power adapter.\nThis has nothing to do with acc.\nIt\u0026rsquo;s bad design by the OEMs themselves.\nIf you face issues, either try a different charging switch or a regular power brick (a.k.a., slow charger).\nYou may also want to try stopping charging by limiting current/voltage.\u003c/p\u003e\n\u003ch3 id=\"why-did-accd-stop\"\u003eWhy Did accd Stop?\u003ca class=\"headerlink\" href=\"#why-did-accd-stop\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eRun \u003ccode\u003eacc -l tail\u003c/code\u003e to find out.\nThis will print the last 10 lines of the daemon log file.\u003c/p\u003e\n\u003cp\u003eA relatively common exit code is \u003ccode\u003e7\u003c/code\u003e - meaning all charging switches failed to disable charging.\nIt usually happens due to kernel issues (refer to the previous subsection - \u003ca href=\"#charging-switch\"\u003echarging switch\u003c/a\u003e).\nThe daemon only stops due to this if acc is set to automatically determine the switches to use (default behavior).\nManually setting a working switch with \u003ccode\u003eacc -ss\u003c/code\u003e or \u003ccode\u003eacc -s s=\"SWITCHES GO HERE --\"\u003c/code\u003e disables auto mode and prevents accd from stopping if the set the charging switches fail.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"power-supply-logs-help-needed\"\u003ePOWER SUPPLY LOGS (HELP NEEDED)\u003ca class=\"headerlink\" href=\"#power-supply-logs-help-needed\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003ePlease run \u003ccode\u003eacc -le\u003c/code\u003e and upload \u003ccode\u003e/data/adb/vr25/acc-data/logs/power_supply-*.log\u003c/code\u003e to \u003ca href=\"https://www.dropbox.com/request/WYVDyCc0GkKQ8U5mLNlH\"\u003emy dropbox\u003c/a\u003e (no account/sign-up required).\nThis file contains invaluable power supply information, such as battery details and available charging control files.\nA public database is being built for mutual benefit.\nYour cooperation is greatly appreciated.\u003c/p\u003e\n\u003cp\u003ePrivacy Notes\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eName: random/fake\u003c/li\u003e\n\u003cli\u003eEmail: random/fake\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eSee current submissions \u003ca href=\"https://www.dropbox.com/sh/rolzxvqxtdkfvfa/AABceZM3BBUHUykBqOW-0DYIa?dl=0\"\u003ehere\u003c/a\u003e.\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"localization\"\u003eLOCALIZATION\u003ca class=\"headerlink\" href=\"#localization\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eCurrently Supported Languages and Translation Levels (default, full, good, fair, minimal)\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eChinese, simplified (zh-rCN): minimal\u003c/li\u003e\n\u003cli\u003eChinese, traditional (zh-rTW): minimal\u003c/li\u003e\n\u003cli\u003eEnglish (en): default\u003c/li\u003e\n\u003cli\u003eFrench (fr): good\u003c/li\u003e\n\u003cli\u003eGerman (de_DE): fair\u003c/li\u003e\n\u003cli\u003eIndonesia (id): minimal\u003c/li\u003e\n\u003cli\u003ePortuguese, Portugal (pt-PT): minimal\u003c/li\u003e\n\u003cli\u003eTurkish (tr): good\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eTranslation Notes\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003e\n\u003cp\u003eStart with copies of \u003ca href=\"https://github.com/VR-25/acc/blob/dev/acc/strings.sh\"\u003eacc/strings.sh\u003c/a\u003e and, optionally, \u003ca href=\"https://github.com/VR-25/acc/blob/dev/README.md\"\u003eREADME.md\u003c/a\u003e.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eModify the header of strings.sh to reflect the translation (e.g., # Español (es)).\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eAnyone is free and encouraged to open translation \u003ca href=\"https://duckduckgo.com/lite/?q=pull+request\"\u003epull requests\u003c/a\u003e.\nAlternatively, a \u003cem\u003ecompressed\u003c/em\u003e archive of translated \u003ccode\u003estrings.sh\u003c/code\u003e and \u003ccode\u003eREADME.md\u003c/code\u003e files can be sent to the developer via Telegram (link below).\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003eUse \u003ccode\u003eacc -sl\u003c/code\u003e (\u0026ndash;set \u0026ndash;lang): language switching wizard or \u003ccode\u003eacc -s l=\u0026lt;lang_string\u0026gt;\u003c/code\u003e to set a language.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003chr /\u003e\n\u003ch2 id=\"tips\"\u003eTIPS\u003ca class=\"headerlink\" href=\"#tips\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003ch3 id=\"always-limit-the-charging-current-if-your-battery-is-old-andor-tends-to-discharge-too-fast\"\u003e\u003cem\u003eAlways\u003c/em\u003e Limit the Charging Current If Your Battery is Old and/or Tends to Discharge Too Fast\u003ca class=\"headerlink\" href=\"#always-limit-the-charging-current-if-your-battery-is-old-andor-tends-to-discharge-too-fast\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eThis extends the battery\u0026rsquo;s lifespan and may even \u003cem\u003ereduce\u003c/em\u003e its discharge rate.\u003c/p\u003e\n\u003cp\u003e750-1000mA is a good range for regular use.\u003c/p\u003e\n\u003cp\u003e500mA is a comfortable minimum - and also very compatible.\u003c/p\u003e\n\u003cp\u003eIf your device does not support custom current limits, use a dedicated (\u0026ldquo;slow\u0026rdquo;) power adapter.\u003c/p\u003e\n\u003ch3 id=\"generic\"\u003eGeneric\u003ca class=\"headerlink\" href=\"#generic\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eForce fast charge: \u003ccode\u003eappy_on_boot=\"/sys/kernel/fast_charge/force_fast_charge::1::0 usb/boost_current::1::0 charger/boost_current::1::0\"\u003c/code\u003e\u003c/p\u003e\n\u003ch3 id=\"google-pixel-devices\"\u003eGoogle Pixel Devices\u003ca class=\"headerlink\" href=\"#google-pixel-devices\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eForce fast wireless charging with third party wireless chargers that are supposed to charge the battery faster: \u003ccode\u003eapply_on_plug=wireless/voltage_max::9000000\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis may not work on all Pixel devices.\nThere are no negative consequences when it doesn\u0026rsquo;t.\u003c/p\u003e\n\u003ch3 id=\"override-battery-mah-capacity\"\u003eOverride Battery mAh Capacity\u003ca class=\"headerlink\" href=\"#override-battery-mah-capacity\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eAn \u0026ldquo;extended\u0026rdquo; battery won\u0026rsquo;t charge fully if the kernel still has the stock \u003ccode\u003echarge_full_design\u003c/code\u003e value.\nSome devices allow that to be modified. If that\u0026rsquo;s the case for you, use \u003ccode\u003eapply_on_boot\u003c/code\u003e to set the desired value(s) in \u003ccode\u003e/sys/class/power_supply/*/charge_full_design\u003c/code\u003e.\u003c/p\u003e\n\u003ch3 id=\"override-broken-temperature-sensor\"\u003eOverride Broken Temperature Sensor\u003ca class=\"headerlink\" href=\"#override-broken-temperature-sensor\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eIf your battery\u0026rsquo;s thermistor always reports a negative value, and charging is very slow or even off, see if the following helps:\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eecho ': ; if ${isAccd:-false} \u0026amp;\u0026amp; online; then (for i in */temp_cool */temp_cold; do [ -f $i ] || continue; chown 0:0 $i; chmod 0644 $i; echo \"-999\" \u0026gt; $i; done); fi || :' \u0026gt;\u0026gt; $(acca -c echo)\u003c/code\u003e\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2 id=\"frequently-asked-questions-faq\"\u003eFREQUENTLY ASKED QUESTIONS (FAQ)\u003ca class=\"headerlink\" href=\"#frequently-asked-questions-faq\" title=\"Permanent link\"\u003e\u003c/a\u003e\u003c/h2\u003e\n\u003cblockquote\u003e\n\u003cp\u003eHow do I report issues?\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eOpen issues on GitHub or contact the developer on Telegram (preferred) or XDA (links below).\nAlways provide as much information as possible.\nAttach \u003ccode\u003e/sdcard/Download/acc-logs-*.tgz\u003c/code\u003e - generated by \u003ccode\u003eacc -le\u003c/code\u003e \u003cem\u003eright after\u003c/em\u003e the problem occurs.\nRefer back to \u003ccode\u003eTROUBLESHOOTING \u0026gt; Diagnostics/Logs\u003c/code\u003e for additional details.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eWhy won\u0026rsquo;t you support my device? I\u0026rsquo;ve been waiting for ages!\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eFirstly, have some extra patience!\nSecondly, several systems don\u0026rsquo;t have intuitive charging control files; I have to dig deeper - and oftentimes, improvise; this takes time and effort.\nLastly, some systems don\u0026rsquo;t support custom charging control at all;  in such cases, you have to keep trying different kernels and uploading the respective power supply logs.\nRefer back to \u003ccode\u003ePOWER SUPPLY LOGS (HELP NEEDED)\u003c/code\u003e.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eWhy, when and how should I calibrate the battery manager?\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eWith modern battery management systems, that\u0026rsquo;s generally unnecessary.\u003c/p\u003e\n\u003cp\u003eHowever, if your battery is underperforming, you may want to try the procedure described at \u003ca href=\"https://batteryuniversity.com/article/bu-603-how-to-calibrate-a-smart-battery\"\u003ehttps://batteryuniversity.com/article/bu-603-how-to-calibrate-a-smart-battery\u003c/a\u003e .\u003c/p\u003e\n\u003cp\u003eACC automatically optimizes system performance and battery utilization, by forcing \u003ccode\u003ebg-dexopt-job\u003c/code\u003e on daemon [re]start, once after boot, if charging and uptime \u0026gt;= 900 seconds.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eI set voltage to 4080 mV and that corresponds to just about 75% charge.\nBut is it typically safer to let charging keep running, or to have the circuits turn on and shut off between defined percentage levels repeatedly?\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eIt\u0026rsquo;s not much about which method is safer.\nIt\u0026rsquo;s specifically about electron stability: optimizing the pressure (voltage) and current flow.\u003c/p\u003e\n\u003cp\u003eAs long as you don\u0026rsquo;t set a voltage limit higher than 4200 mV, and don\u0026rsquo;t leave the device plugged in for extended periods of time, you\u0026rsquo;re good with that limitation alone.\nOtherwise, the other option is actually more beneficial - since it mitigates high pressure (voltage) exposure/time to a greater extent.\nIf you use both, simultaneously - you get the best of both worlds.\nOn top of that, if you enable the cooldown cycle, it\u0026rsquo;ll give you even more benefits.\u003c/p\u003e\n\u003cp\u003eEver wondered why lithium ion batteries aren\u0026rsquo;t sold fully charged? They\u0026rsquo;re usually ~40-60% charged. Why is that?\nKeeping a battery fully drained, almost fully drained or 70%+ charged for a long times, leads to significant (permanent) capacity loss\u003c/p\u003e\n\u003cp\u003ePutting it all together in practice\u0026hellip;\u003c/p\u003e\n\u003cp\u003eNight/heavy-duty/forever-plugged profile: keep capacity within 40-60% (e.g., acc 50 45) and/or voltage around ~3900 mV\u003c/p\u003e\n\u003cp\u003eDay/regular profile: max capacity: 75-80% and/or voltage no higher than 4100 mV\u003c/p\u003e\n\u003cp\u003eTravel profile: capacity up to 95% and/or voltage no higher than 4200 mV\u003c/p\u003e\n\u003cp\u003e* \u003ca href=\"https://batteryuniversity.com/article/bu-808-how-to-prolong-lithium-based-batteries/\"\u003ehttps://batteryuniversity.com/article/bu-808-how-to-prolong-lithium-based-batteries/\u003c/a\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eI don\u0026rsquo;t really understand what the \u0026ldquo;-f|\u0026ndash;force|\u0026ndash;full [capacity]\u0026rdquo; is meant for.\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eConsider the following situation:\u003c/p\u003e\n\u003cp\u003eYou\u0026rsquo;re almost late for an important event.\nYou recall that I stole your power bank and sold it on Ebay.\nYou need your device and a good battery backup.\nThe event will take the whole day and you won\u0026rsquo;t have access to an external power supply in the middle of nowhere.\nYou need your battery charged fast and as much as possible.\nHowever, you don\u0026rsquo;t want to modify ACC config nor manually stop/restart the daemon.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eDo I have to install/upgrade both ACC and AccA?\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eTo really get out of this dilemma, you have to understand what ACC and AccA essentially are.\u003c/p\u003e\n\u003cp\u003eACC is a Android program that controls charging.\nIt can be installed as an app (e.g., AccA) module, Magisk module or standalone software. Its installer determines the installation path/variant. The user is given the power to override that.\u003c/p\u003e\n\u003cp\u003eA plain text file holds the program\u0026rsquo;s configuration. It can be edited with any root text editor.\nACC has a command line interface (CLI) - which in essence is a set of Application Programing Interfaces (APIs). The main purpose of a CLI/API is making difficult tasks ordinary.\u003c/p\u003e\n\u003cp\u003eAccA is a graphical user interface (GUI) for the ACC command line. The main purpose of a GUI is making ordinary tasks simpler.\nAccA ships with a version of ACC that is automatically installed when the app is first launched.\u003c/p\u003e\n\u003cp\u003eThat said, it should be pretty obvious that ACC is like a fully autonomous car that also happens to have a steering wheel and other controls for a regular driver to hit a tree.\nThink of AccA as a robotic driver that often prefers hitting people over trees.\nDue to extenuating circumstances, that robot may not be upgraded as frequently as the car.\nUpgrading the car regularly makes the driver happier - even though I doubt it has any emotion to speak of.\nThe back-end can be upgraded by flashing the latest ACC zip.\nHowever, unless you have a good reason to do so, don\u0026rsquo;t fix what\u0026rsquo;s not broken.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eDoes acc work also when Android is off?\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eNo, but this possibility is being explored.\nCurrently, it does work in recovery mode, though.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eI have this wakelock as soon as charging is disabled. How do I ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagisk-modules-repo%2Facc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagisk-modules-repo%2Facc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagisk-modules-repo%2Facc/lists"}