GithubHelp home page GithubHelp logo

lich4 / chargelimiter Goto Github PK

View Code? Open in Web Editor NEW
649.0 649.0 31.0 10.47 MB

Charge limiter for iOS, inspired by AlDente

License: GNU General Public License v3.0

HTML 20.27% CSS 1.44% JavaScript 32.82% Shell 1.50% Objective-C++ 41.43% Objective-C 2.15% Makefile 0.37%

chargelimiter's People

Contributors

lich4 avatar neo1102 avatar olivertzeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chargelimiter's Issues

图标建议

搜了一些素材弄的,还有点锯齿 应该不碍事
充电保护2

IOS版本BUG反馈

1、软件界面上有个检测时间,可以选1s 10s 1min 10min,但是如果把app后台划掉,再进入还是默认的1min,比如我设置成10s,后台退出的话并不会生效

2、充电的电量会比设置的阈值多1%。比如我设置高于60%停止充电,实际冲到61%才停。设置75%停止,实际76%才停。请问这是否是bug或者app设计即这样,那能否把设置的档位分的更细,1%为一个精度。这样我需要80%的电量,设置里填79%

Will there be a deb version for arm64e architecture since there is dopamine 2 now

Sorry if its not a place where I can post such questions. But if I can consider this a request assuming what I think is actually possible.

I have tried trollstore app and it works exactly as expected. But it seems like the app has to remain open in background. I tried to set the limit to 75%, waited half an hour then checked the results. It stayed at 75% but then I closed the app completely and within few minutes and charge percentage went above 75. I am just assuming a tweak/app installed by sileo will not require me to keep it open. Let me know if I am wrong. BTW I am grateful for the app. This is the only app out of many I tried work.

I am using the TS app with these specs:

Model: iphone 13 pro max
iOS Version: 16.1.2
Jailbreak: Dopamine 2
TS ChargeLimiter App Version: 1.4

Instant amperage(mA)

Dear creator,

First of all, I’ve just found your project recently, and I want to thank you for your tweak, it is awesome!

However, I noticed that the Insant Amperage is at between 1-2 mA, when I turn the charger off.

I’m using iPhone 13, iOS 17, TrollStore.

My question is that does this mean actual charging? because I want to leave my phone on the charger over night. If so, is it fixable? or will it automatically compensate?
IMG_7183

EDIT: One more thing, this might be a stupid question, but could you explain how the trigger works? because if the phone’s Instant Amperage is kept at 0 mA, how could the phone reach the lower trigger? or is it able to let the phone discharge until it reaches that level?

电压显示NaN

iPhone 6sp,15.7.1,最新版1.4
电压应该为5V,但显示NaN
IMG_0020

关于温度停止充电优化

达到温度条件后停止充电后,能不能过一会检测温度下来了再继续充
因为在充电的过程中看剧或者玩游戏啥的,过一会直接锁屏让它接着充,回头发现一直没冲...
现在好像温度停止充电后只能重新拔插或者手动打开充电

[Bug] Charging notifications while not charging

Hello, v1.4 works fine for now but i get notifications like 'start charging' if i'm not charging my device or if i simple running the app (not charging). Running 14 Pro max with trollstore. Thanks for future fixing.

UI improvements request:

Swiping up and down is limited to 60 Hz.
No dark mode theme.
Tapping on things or changing options is laggy.

(What programming language is ChargeLimiter written in?, there’s definitely many possible improvements that can be done to make the UX better.) 🫡

手动充电的那个按钮反应非常迟钝

比如我是设置20%充电,80%停止充电

电量是30%的时候我想充电,这时候去点app里那个充电按钮,点击或者滑动都会没有反应,要不停的去点,然后突然就可以了

Trollstore version not working

Dear Lich4,

Firstly, I wanted to thank you for this fantastic tweak you developed.

However, I am unsure whether my device is unsupported or if there’s another underlying issue here. I’m currently using TrollStore, iOS 17, on an iPhone 13. I’ve testesd the application through trying to disable charging while my phone was plugged in. (I don’t know if it matters, but I even toggled on and off the optimised battery charging). If my device is unsupported, is it possible in the future to get the supportation?

Thanks in advance,
Csanád

EDIT: I somehow managed to turn off charging in the app (I reinstalled it). so now in the app and on the "floating window" it says its not charging. (but its normal that my phone thinks it’s charging right?)

我有一些疑问希望能得到回复

据我了解

AlDente mac版是通过一个后台常驻进程,不断循环检测当前电量,如果电量高于用户设定值,则向 SMC 中 CH0B 这个 key 里写入 01 以停止充电,反之则写入 00 使电池开始充电。

ios版是否也遵守上述规则?所以目前AlDente ios版也是必须要保持在后台运行吗?

有考虑过使用 bclm 是往 SMC 里 CHWA 这个 key 里写入数值( 80 or 100 ),直接设定充电上限,从而 bclm 不需要常驻后台不断检测电量。这种逻辑吗?

谢谢!

deb安装,简体中文设置不能保存

非常感谢,该软件越来越人性化,只是提个小小BUG,若用deb安装后,功能没问题,只是设置简体中文,然后退出重进,又回到了ZH;Trollstore安装,没有此问题。

使用场景分析

普通人使用场景:充电器随充随断,电量充电至 80% 停止。
作者使用场景:充电器一直通电,电量保持在 20% 至 80% 区间,模拟电池正常充放电过程。

其实可以给 下限 做个开关,让 下限 与 上限 脱离关联,这样就可以满足双方使用场景。

谢谢开发!

电量低于(%)开始充电

这个按照字面意思是电量低于X%才开始充电,实际上设置20%,但是实际80%电量也能冲进电。
iShot_2024-02-04_16 33 22
iShot_2024-02-04_16 35 14

我猜测您想实现的应该是续航模式吧,换个描述会不会更容易懂一点,个人建议

Ideas for the next update

If possible, add dark mode support and let us be able to set % to any value instead of being locked to only 5% increments in the next update. Thanks.

设置电量达到%停止充电不是即实生效的吗?

设备:iPhone 13 mini
系统:iOS 16.6.1
在第一次设置达到80%电量停止充电后正常生效,但后续如果调整设置还是会卡在80%电量(即使应用界面ui滑条为100%)我尝试过划掉应用重新打开、重新拔插充电头也一样,如果想要调整生效需要手动到巨魔商店注销才行。

请教一下快速充电模式效益问题?

我注意到1.4版本新增了个“增加快速充电模式(飞行模式+降低屏幕亮度+低电量模式)”
看上去只是减少了设备外围和系统刷新的功耗,但这部分功耗占比本来就不大吧,实际收益大约是多少呢?

Charging limit ignored if using temperature option

After some testing I can confirm that the „stop charging“ threshold doesn’t work if you simultaneously use the „stop charging if temperature is above XX“ option. It only accounts for temperature then and ignores the selected charging threshold charging last the specified value.

Is this intended behavior? I‘d like to use both features at the same time. Making it charge only to 80% while also keeping temperatures low.

I’m using the .deb version on Dopamine 16.5

关于充电模式

目前使用ipad pro 12.9 m2版的,用来播放hdr视频,电缆取电功率不够会消耗电池电量,这个是正常的,但过后并不会再次补充电池电量至目标值。这是一个特性还是一个bug,希望作者解答,目前长期插电使用,希望能针对这种使用模式推出针对性的充电策略,感谢作者的努力!

电流负数

不在充电的时候 电流怎么会是负数的

使用smart battery case为iPhone充电软件显示问题?

设备:iPhone13 mini
系统:iOS16.6.1
软件版本:1.2
使用smart battery case为iPhone充电的话正在充电开关无法正常使用(提示需要连接电源)但边缘触发和插电充电限制依旧正常生效,下图是使用smart battery case充电是软件显示的信息,和普通充电宝的区别就是正在充电和电源信息的电源已连接一直为关闭(即使已经接入电源),希望作者有空修复下🙏
IMG_1974
IMG_1975

CCSupport 模組

希望可以增加 CCSupport 模組以暫時停用 AlDenate。這樣是因爲有時出門前需要充滿電

[Feture Request] Max charge speed

Hello, I really like this project. But I would like to ask for a feture. I Apologize if this feels like begging and I understand if it is not possible but a mac voltage would be nice to prevent the phone from charging to fast. Please and thank you. Have a good day!

软件是如何检测设备充电状态的?

目前经常会误触发,即使没有接入充电器,也会弹出通知。在这种情况下如果开了快速充电模式,就会动不动开启飞行模式,很难受,希望能有解决方案。

Jailbreak Version Not Working

I’ve switched from the Trollstore version over to the jailbroken version. But the jailbroken version still allows the iPhone to charge pass 80%?

刷新频率是否可以自定义?

目前是1秒,20秒,1分钟,10分钟。1分钟太短,10分钟又太长。
能否可以将刷新时间改成自定义,范围1-600,单位为秒,用户自己填刷新值。

Blocks charging after 4-5%

Hello, idk what i'm doing wrong but if i want to use the app my device battery only charging 4-5% with an original power adapter from apple. I have set the charging limit to 75% but if i want to charge from 38% it don't get past 43% after a or two hours. My battery temperature level limit is set to 30 degree but my battety is at 25 degree. I use an 14 pro max with trollstore. Any help with the settings or app use? Thx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.