{"id":21106810,"url":"https://github.com/magisk-modules-repo/ipcontrol","last_synced_at":"2025-05-17T09:41:00.398Z","repository":{"id":50538703,"uuid":"175282149","full_name":"Magisk-Modules-Repo/IPControl","owner":"Magisk-Modules-Repo","description":"IPControl","archived":false,"fork":false,"pushed_at":"2024-02-09T18:27:16.000Z","size":6885,"stargazers_count":77,"open_issues_count":9,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T06:11:21.354Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Magisk-Modules-Repo.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-12T19:24:08.000Z","updated_at":"2025-03-25T16:09:00.000Z","dependencies_parsed_at":"2022-09-23T07:12:01.872Z","dependency_job_id":null,"html_url":"https://github.com/Magisk-Modules-Repo/IPControl","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magisk-Modules-Repo%2FIPControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magisk-Modules-Repo%2FIPControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magisk-Modules-Repo%2FIPControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magisk-Modules-Repo%2FIPControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Magisk-Modules-Repo","download_url":"https://codeload.github.com/Magisk-Modules-Repo/IPControl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254688894,"owners_count":22112514,"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:21.295Z","updated_at":"2025-05-17T09:41:00.072Z","avatar_url":"https://github.com/Magisk-Modules-Repo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Input Power Control\n\n![IPControl banner](https://i.imgur.com/6gyQUTZ.png)\n\n### Completely native input power control tool written purely in C++ for performance and stability\n\n## Description\n\nIPControl automatically switches charging off when battery level reaches a certain\ndisable threshold and back on as soon as it drowns to enable threshold. Thus, it\nis kept bouncing between those boundaries. This feature is called `Automation`.\n\nThere's one more feature, namingly `method`s, that basically helps in switching\nbased on conditions including level and time, but it is recommended only if you\nreally need it or have decent knowledge of how phone batteries work.\n\nPlease see `Commandline` section on manipulating these feature and other available\noptions.\n\n## Requirements\n\n1. Android Lollipop or up\n2. ARM or x86 based chipset\n3. Magisk v18.2 (18105) or up\n4. Any root solution and Init.d support\n\nHaving either of 3 or 4 would suffice, 3 is favored if both are detected.\n\n## Supported Devices\n\n- Asus Zenfone Max Pro M1\n- Google Pixel 3\n- LG Google Nexus 5\n- LeEco Le Max 2\n- Lenovo Zuk Z2 Plus\n- Motorola Moto X4\n- OnePlus 3T\n- OnePlus 3\n- OnePlus 5T\n- OnePlus 6\n- OnePlus 7 Pro\n- Samsung Galaxy Note 3\n- Samsung Galaxy S6 Edge\n- Samsung Galaxy S8\n- Xiaomi Mi A1\n- Xiaomi Mi Max 2\n- Xiaomi Mi Max 3\n- Xiaomi Pocophone F1\n- Xiaomi Redmi K20 Pro\n- Xiaomi Redmi Note 3 Pro\n- Xiaomi Redmi Note 4\n- Xiaomi Redmi Note 5\n- Xiaomi Redmi Note 6 Pro\n- Xiaomi Redmi Note 7\n- ZTE Axon 7\n\nIf your device isn't listed above, don't worry! You should try IPControl and test\nit out yourself.\n\n## Downloads\n\nPlease obtain release zips [from GitHub releases](https://github.com/Magisk-Modules-Repo/IPControl/releases),\ndownloading from Magisk Manager enforces Magisk framework which forbids some\ninstallation functions.\n\n## Installation\n\nAssured your device meets requirements, flash IPControl like any other flashable.\nMagisk Manager or TWRP are advised as installation mediums.\n\n## Setup\n\nIf you aren't a power-user and don't wanna mess with understanding commandline\n(although it's explained well below), here is what minimal setup should be like,\n\n    su                                 # Obtain root shell\n    ipc --update 70 60                 # Update thresholds\n    ipc --daemon launch                # Launch the daemon\n\n## Commandline\n\n    Usage: `ipc [\u003coption\u003e [\u003cargs\u003e...]...]`\n\n    Options:\n\n    [--update] \u003cthr_disable\u003e \u003cthr_enable\u003e\n\n        Updates disable and enable threshold for Automation.\n        resets them to defaults if no values were specified.\n        \u003cthr_disable\u003e and \u003cthr_enable\u003e must be integers.\n\n        -\u003e `ipc --update 90 80` sets disable threshold to 90\n                                and enable threshold to 80\n        -\u003e `ipc --update`       resets thresholds to 70 60\n\n    [--toggle] \u003cstatus\u003e\n\n        Toggles Automation on or off.\n        \u003cstatus\u003e can be 'ON' or 'OFF'.\n\n        -\u003e `ipc --toggle ON`  toggles Automation on\n        -\u003e `ipc --toggle OFF` toggles Automation off\n\n    [--method] \u003cformat_str\u003e\n\n        Runs a method based on format string \u003cformat_str\u003e.\n        Here, format string must follow the pattern:\n            (e|d)(%|s|m|h)(threshold: int)\n\n        where...\n        ... (e|d)     defines if enable/disabling charging,\n        ... (%|s|m|h) defines if seeking level or timespan,\n        ...           and this is the value of threshold.\n\n        -\u003e `ipc --method es60` enables charging for 60 secs\n        -\u003e `ipc --method d%40` disables charging until 40%\n        -\u003e `ipc --method em30` enables charging for 30 mins\n\n    [--daemon] \u003caction\u003e\n\n        Launches or kills the daemon.\n        \u003caction\u003e can be 'launch' or 'kill'.\n\n        -\u003e `ipc --daemon launch` launches the daemon\n        -\u003e `ipc --daemon kill`   kills the daemon\n\n    [--info]\n\n        Shows battery details and IPControl settings.\n\n        -\u003e `ipc --info` shows battery level, battery status,\n                        Automation status, disable threshold\n                        and enable threshold\n\n## Support\n\nPlease share your unease in [this Telegram group](https://t.me/IPControl_Support)\nand I will serve you ASAP with required solutions.\n\n## Legal\n\nCopyright (c) 2019 Jaymin Suthar. All rights reserved.\n\nSee file NOTICE in project root for licensing information.\n\n## [Changelog](https://github.com/Magisk-Modules-Repo/IPControl/blob/master/Changelog.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagisk-modules-repo%2Fipcontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagisk-modules-repo%2Fipcontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagisk-modules-repo%2Fipcontrol/lists"}