#asahi · 2022-11-09 20:26
mpsopticron: I agree, also I wan't to follow my 'order' what to do#asahi · 2022-11-09 20:25
opticronI don't think I want my devices to try to be that smart about charging#asahi · 2022-11-09 20:21
mpsif you go to caffee every day at 16:00 it will charge full at 15:00#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
bcrumband wonder whether the mac driver (if there is one?) does this#asahi · 2022-11-09 20:18
bcrumbi was wondering whether driver would use more intelligent management according to battery characteristics and actual science#asahi · 2022-11-09 20:18
mpsbut I don't have time to hack kernel#asahi · 2022-11-09 20:17
bcrumbyeah def#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
bcrumbidk i want to fuck around anyways with linux and c only thing that feels right to my soul atm tbh idblt#asahi · 2022-11-09 20:17
bcrumbright#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:16
bcrumbmps driver as in ... battery driver?#asahi · 2022-11-09 20:16
bcrumbyeah i dk i just used as c exercise since didn't write a lot in that language#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:15
bcrumbit was made with overloads in mind, which i forgot c didn't have#asahi · 2022-11-09 20:15
bcrumbas a design choice, which is kind of useless#asahi · 2022-11-09 20:15
bcrumbif(NULL == get_power_data(...)) {...} return _get_power_data#asahi · 2022-11-09 20:14
bcrumbso, it was made like that to always return same value, so that you can do say...#asahi · 2022-11-09 20:14
j`eybcrumb: _get_power_data looks weird#asahi · 2022-11-09 20:13
bcrumbmps i just save the last mode switch and at start initialize the variable, you will see #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
bcrumbcool#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:10
bcrumbor that url#asahi · 2022-11-09 20:10
bcrumbmps did you post in chat?#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:09
bcrumbthat would be it#asahi · 2022-11-09 20:09
bcrumbalso yeah you can leave it whether plugged in or not#asahi · 2022-11-09 20:08
mpsbcrumb: looks nice at first glance#asahi · 2022-11-09 20:08
bcrumbif someone can test this out of it works for their machine, also configuring syslog is good to have debug output if something happens#asahi · 2022-11-09 20:07
bcrumbit has a smart enough logic for power management, and if you get syslog-ng and just configure a destination + filter + log (3 lines) you will have log historical log output, i will need to edit readme up a little#asahi · 2022-11-09 20:05
bcrumbabove is the "full fledged" battery controller for m1#asahi · 2022-11-09 20:05
bcrumbmps: https://codeberg.org/bcrumb/charge-ctl-m1/src/branch/main/src/main.c#asahi · 2022-11-09 10:55
marcanthere are font rendering settings in the KDE system settings#asahi · 2022-11-09 10:15
nuupusing bitmap fonts is an easy option :D#asahi · 2022-11-09 10:09
nuupto make it look nicer#asahi · 2022-11-09 10:09
nuupbut are there any tweaks I can do to the font rendering?#asahi · 2022-11-09 10:09
nuupI don't mind the no gpu thing personally#asahi · 2022-11-09 10:09
j`eyI dont think you'd get that much anyway#asahi · 2022-11-09 10:08
bassoyeh with gpu accel, i am very sensitive to stutter/lag :(#asahi · 2022-11-09 10:08
j`ey(which already works, but not merged)#asahi · 2022-11-09 10:08
j`eyunless you mean w/ GPU accel#asahi · 2022-11-09 10:07
j`eybasso: you already can?#asahi · 2022-11-09 10:06
bassonuup: im waiting til i can atleast run KDE on it lol#asahi · 2022-11-09 09:38
jnwelcome, nuup!#asahi · 2022-11-09 09:25
nuupit worked better than I expected!