#
✕ nick:mps
#asahi · 2022-11-09 20:20
mpsmacos records battery usage and try to do some smart things. for example if at some hours in the day machine is on battery it remembers that and go to full charge before that time
#asahi · 2022-11-09 20:18
mpsbut I don't have time to hack kernel
#asahi · 2022-11-09 20:17
mpsalso i think it is better to have control in driver than in userspace
#asahi · 2022-11-09 20:17
mpsbcrumb: yes, in baterry driver
#asahi · 2022-11-09 20:16
mpsyes, also I made it as quick hack to have something till driver get all these knobs
#asahi · 2022-11-09 20:15
mpsbcrumb: I didn't thought deeply about all features because m_arcan told that this all should go in the driver
#asahi · 2022-11-09 20:12
mpsthinking to add signals for forcing behavior
#asahi · 2022-11-09 20:11
mpsbut I think I will use your after testing
#asahi · 2022-11-09 20:10
mpsno, not yet, here is quick paste https://tpaste.us/0WME
#asahi · 2022-11-09 20:10
mpsbut my code is hackish
#asahi · 2022-11-09 20:09
mpsI added in my one check current behavior and if it is same which should be changed than skip changing
#asahi · 2022-11-09 20:08
mpsbcrumb: looks nice at first glance
#asahi · 2022-11-06 14:50
mpsah, thanks
#asahi · 2022-11-06 14:43
mpswhat is /sys/class/power_supply/macsmc-battery/charge_counter, what it counts. current value on my machine is now '-4332974'
#asahi · 2022-11-05 23:05
mpsyes, I know. I run it as daily driver for 11 months now. now on m1pro
#asahi · 2022-11-05 22:59
mpsljs: thanks. if asahi kernel works than alpine also should
#asahi · 2022-11-05 19:03
mpsah ok
#asahi · 2022-11-05 19:02
mpsas I see above you asked for alpine, maybe by mistake
#asahi · 2022-11-05 19:02
mpsnp
#asahi · 2022-11-05 19:01
mpsbalrog: if you want to go with alpine please join #asahi-alt channel
#asahi · 2022-11-05 19:00
mpshm, anyone know if asahi released kernel works on M2?
#asahi · 2022-11-05 18:59
mpsbalrog: you can select expert mode and then choose size of partition
#asahi · 2022-11-05 18:58
mpscould someone tell more about this
#asahi · 2022-11-05 18:58
mpsbalrog: I'm not sure if current release kernel boots on M2
#asahi · 2022-11-05 14:04
mpshubason__: did you reload on newsboat start
#asahi · 2022-11-04 16:47
mpsand it also works on old macbook from 2009 year
#asahi · 2022-11-04 16:46
mpscy8aer: this is my boot script for kbd set https://tpaste.us/WQpB
#asahi · 2022-11-04 16:37
mpsno need to reboot
#asahi · 2022-11-04 16:36
mpsthere is /sys/module/hid_apple/parameters/ files where keyboard could be changed
#asahi · 2022-11-02 21:29
mpsI have it in /var/log/messages
#asahi · 2022-11-02 21:29
mpsbcrumb: depends on your syslog server
#asahi · 2022-11-02 21:28
mpsI forgot to disable this
#asahi · 2022-11-02 21:28
mpsbcrumb: yes
#asahi · 2022-11-02 20:25
mpsones*
#asahi · 2022-11-02 20:25
mpsboth one were hacked in 10-15 minutes, didn't thought to make repo of them
#asahi · 2022-11-02 20:24
mpsand C version I wrote in June
#asahi · 2022-11-02 20:23
mpsayke: I wrote first one in perl, in May
#asahi · 2022-11-02 16:56
mpsactually I prefer supervised 'daemons'
#asahi · 2022-11-02 16:55
mpsyes, this is my understanding how to make correct daemon, though I'm far from expert on this
#asahi · 2022-11-02 16:50
mpsyou can change them and recompile, and can also give me advice which ones are better
#asahi · 2022-11-02 16:50
mpsbcrumb: I set range from my back head, not sure if they are correct and best ones
#asahi · 2022-11-02 16:48
mpsbcrumb: Nikola Tesla talked and worked on free energy one century ago but problem with free energy is ... it is free :)
#asahi · 2022-11-02 15:22
mpson few chromebooks I have small shell script which control charging by limiting charge current
#asahi · 2022-11-02 15:20
mpsChaosPrincess: I agree it would be better to have all these knobs in driver, but till some tools are ok
#asahi · 2022-11-02 15:18
mpswaldi: yes
#asahi · 2022-11-02 15:18
mpsgood idea to consider
#asahi · 2022-11-02 15:17
mpsyou mean battery temperature
#asahi · 2022-11-02 15:16
mpsno, didn't thought about temperature. have no idea why it is needed for charging control
#asahi · 2022-11-02 15:15
mpsyes, I'm using this daemon for months, and some other users also
#asahi · 2022-11-02 15:14
mpsbcrumb: I didn't added option to poweroff machine if battery drops below some percentage

plus ›