<bcrumb>
above is the "full fledged" battery controller for m1
<bcrumb>
it 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
<bcrumb>
if someone can test this out of it works for their machine, also configuring syslog is good to have debug output if something happens
<mps>
bcrumb: looks nice at first glance
<bcrumb>
also yeah you can leave it whether plugged in or not
<bcrumb>
that would be it
<mps>
I added in my one check current behavior and if it is same which should be changed than skip changing
<bcrumb>
as a design choice, which is kind of useless
danielne1 has quit [Ping timeout: 480 seconds]
<bcrumb>
it was made with overloads in mind, which i forgot c didn't have
<mps>
bcrumb: I didn't thought deeply about all features because m_arcan told that this all should go in the driver
<bcrumb>
yeah i dk i just used as c exercise since didn't write a lot in that language
<bcrumb>
mps driver as in ... battery driver?
<mps>
yes, also I made it as quick hack to have something till driver get all these knobs
<mps>
bcrumb: yes, in baterry driver
<bcrumb>
right
<bcrumb>
idk i want to fuck around anyways with linux and c only thing that feels right to my soul atm tbh idblt
<mps>
also i think it is better to have control in driver than in userspace
<bcrumb>
yeah def
<mps>
but I don't have time to hack kernel
<bcrumb>
i was wondering whether driver would use more intelligent management according to battery characteristics and actual science
<bcrumb>
and wonder whether the mac driver (if there is one?) does this
<mps>
macos 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
<mps>
if you go to caffee every day at 16:00 it will charge full at 15:00
Stroller has quit [Quit: Stroller]
Dcow has joined #asahi
<opticron>
I don't think I want my devices to try to be that smart about charging
<mps>
opticron: I agree, also I wan't to follow my 'order' what to do
<sven>
that smart charging is going to extend your battery life though
<bcrumb>
mps did make executable though? cause warnings
<bcrumb>
should have
<mps>
yes, it starts
<mps>
but i think something with sighandler is not posix compliant, and don't have time to look now
<bcrumb>
cool, i will do too when i have time
<mps>
bcrumb: you will get answer on #musl
<bcrumb>
aight
<mps>
I mean, what is wrong
<bcrumb>
mps: do they keep logs on libera?
<mps>
I think yes
<opticron>
sven, I'll just set it to always only charge to 90% (or 85% or 80%) and then push a button for a 1-time charge to 100% if I need it
<mps>
opticron: that is how I do now, keep it at 85% and if have to go somewhere change to full charge
<mps>
but I'm mostly using machine with power supply attached
<opticron>
that's what I do with my phone currently, as well
<opticron>
my current laptop's battery is at <65% original capacity because I didn't
<mps>
I use this method on my two chromebooks also
<mps>
and I prefer to go out with chromebook which is less than 1Kg weight than with m1pro 16" (sorry for OT)
<bcrumb>
alright i updated readme with my syslogs, will look around to musl warnings at some point, for now should work, cheers guys
bcrumb has quit [Quit: WeeChat 3.7.1]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
___nick___ has joined #asahi
___nick___ has quit []
Dcow has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi
Dcow has joined #asahi
millenialhacker has joined #asahi
xaizone has joined #asahi
Dcow has quit [Ping timeout: 480 seconds]
skoczko has joined #asahi
<skoczko>
Probably asked million times before: are there any plans to get Asahi working on apple tv?
<j`ey>
presumuably they dont have an open bootloader/policy, so no
Dcow has joined #asahi
<j`ey>
the asahi work to upstream drivers would surely help with efforts to put linux on it though
<nicolas17>
skoczko: Mac lets you install custom operating systems, AppleTV/iPhone/iPad/HomePod don't
<nicolas17>
mps: Apple's "intelligent battery charging" based on time of day etc is definitely userspace :)
<mps>
nicolas17: I thought so, it doesn't make sense in kernel driver
<nicolas17>
might be tied to statistics collected by DUET (allegedly "dynamic user experience tuning")
<mps>
but I don't use macos so didn't looked at it
<nicolas17>
it also has some heuristics like "disable (charge to 100%) if you're not in your usual location"
<nicolas17>
(at least on iOS)
millenialhacker has quit [Remote host closed the connection]
<nicolas17>
and "charge to 100% if you have a flight the next morning"
<nicolas17>
I'm sure an Apple employee on a beta version woke up at 5am for their flight and found their iPhone at 80% and saying "will finish charging at 8am", and went "hm we could actually do better here"
<xaizone>
hello world
jjido has joined #asahi
millenialhacker has joined #asahi
Dcow has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Remote host closed the connection]
millenialhacker has joined #asahi
Axenntio has joined #asahi
Axenntio has quit []
lamlam has joined #asahi
<lamlam>
anything interesting in ventura? macos is being really annoying about it
<ChaosPrincess>
broken settings, and not much more
<tpw_rules>
the rosetta in a linux vm is p good if you are not a majority asahi user
<tpw_rules>
it's some 10x faster than qemu-aarch64
skoczko has quit []
<tpw_rules>
it is somewhat unreliable though
Dcow has joined #asahi
Dcow has quit [Ping timeout: 480 seconds]
vmeson has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi
xaizone has quit [Quit: Leaving]
Dcow has quit [Ping timeout: 480 seconds]
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]