Ally X - Disable Charging Light

I have installed Bazzite without booting into windows. Is there a way to disable the charging light within Bazzite specifically when in sleep mode. For awareness I do not have a windows partition nor care for one.
92 Replies
antheas
antheas3mo ago
we are testing a fix for that in testing you wanna check it out? it only works when its not plugged in
doncabezon
doncabezonOP3mo ago
I wouldn’t mind testing.
antheas
antheas3mo ago
bazzite-rollback-helper rebase testing run this command and after rebooting echo 1 | sudo tee /sys/devices/platform/asus-nb-wmi/mcu_powersave your controller will take longer to wake up if you find any issues with it, such as being able to wake the device by pressing buttons let us know
doncabezon
doncabezonOP3mo ago
Commands ran. Currently light is off in sleep mode, as intended. A reboot seems to affect the second command. Changes not sticking after a reboot
antheas
antheas3mo ago
yes it does because currently 1 breaks the controllers but not in testing well, youre the first OG ally owner so, the more you test the faster this merges give it some hell suspend it a bunch and then film a video of it waking up i need to see if it does the reboot quirk 🍿 youre killing me does it work?
doncabezon
doncabezonOP3mo ago
Sorry for the delay. Running it now. Had to get a usb c mouse to make it easier
antheas
antheas3mo ago
until now resume has worked?
doncabezon
doncabezonOP3mo ago
Resume works. Slight delay in accepting input but nothing major. 1 second at most. I did a reboot through game mode and the light goes back to blinking in sleep mode
antheas
antheas3mo ago
yeah the updater script turns it off thats ok 1 second is nothing, you sure? Ally X is 6 seconds but then again Ally X uses like no battery afterwards the updater script runs on boot, should only run once per update @Kyle Gospo please be careful with merging to main but can you nix that line? in testing
Kyle Gospo
Kyle Gospo3mo ago
What do you want removed exactly? The power save thing?
doncabezon
doncabezonOP3mo ago
doncabezon
doncabezonOP3mo ago
Want the blinking light in suspend removed It works and controller responds immediately
antheas
antheas3mo ago
yeah just be careful not to merge to main oh i thought you had an ally
doncabezon
doncabezonOP3mo ago
Ally X
antheas
antheas3mo ago
i tested my ally x i know that works except a little reboot thingy maybe its the leds come to think of it because it likes to turn them off when powersave is on checks out tho
doncabezon
doncabezonOP3mo ago
So far resume is unaffected
antheas
antheas3mo ago
yeah i need to find an ally owner tho
doncabezon
doncabezonOP3mo ago
Ah sorry Im not the chosen one @antheas it does blink when charging while in sleep mode FYI
antheas
antheas3mo ago
yes powersave is only on on DC
JorgiBob
JorgiBob3mo ago
@antheas trying to follow the thread/info about power states. are you implying above that pending further testing/validation with the og ally that we can expect to see the ally/x use less power while asleep in bazzite? Also, what is the reboot quirk you’re referring to? thanks for all the efforts - really enjoying Bazzite on my X
antheas
antheas3mo ago
well if you want to use it it will be there lowers battery draw from 4% to 1% per night lets say but the controller takes longer to wake up
JorgiBob
JorgiBob3mo ago
sounds awesome - gladly a trade off I would make. I’m assuming the delay will be unavoidable because of how asus implemented the bios/mcu? I think I saw something about that when trying to google/grok more about it…
antheas
antheas3mo ago
i mean you turn it off it needs time to turn on around 6-8 seconds the little reboot quirk is it doing something i am not sure
JorgiBob
JorgiBob3mo ago
just to confirm - this is in testing? I changed to the testing image and ran the above mentioned mcu command (though it looks like the command will no longer be necessary as soon as the most recent testing build completes?). not an OG Ally...Ally X, but the wakeup time is not bad imo...around 3-4 seconds on average
antheas
antheas3mo ago
wait one hour new version is building in testing hhd has a toggle yeah no its not that bad well build failed @Kyle Gospo see you all in half an hour
antheas
antheas3mo ago
GitHub
chore: Fix tuned removal · ublue-os/bazzite@1525164
Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld. - chore: Fix tuned removal · ublue-os/baz...
antheas
antheas3mo ago
No description
antheas
antheas3mo ago
Time to give it hell
doncabezon
doncabezonOP3mo ago
Will do!
JorgiBob
JorgiBob3mo ago
sweet! Updating… I’ll keep hammering it and report anything if it crops up..but seems to be working as expected so far when toggled on/off
antheas
antheas3mo ago
Yeah I can't break it Before I debounced the switch I could break it by fiddling with the switch a lot But not anymore Also suspend would fix it
doncabezon
doncabezonOP3mo ago
So far just the delayed start on the controller but definitely manageable. Especially if we achieve better battery life! Thanks for the hard work!
antheas
antheas3mo ago
its the same in windows but you dont notice because of the lockscreen
JorgiBob
JorgiBob3mo ago
Ok, I did just wake it up after being asleep for about 10 mins. The controller didn’t respond after 20 seconds - so I put it back to sleep and woke it up. Same thing, but it eventually started responding. The steam menus are super laggy. I tried switching performance profiles between silent and performance - still very laggy I should specify..by laggy - they kind of stutter when sliding out. The button press is ok
antheas
antheas3mo ago
That is a different bug we didn't fix yet I have never gotten that bug yet I know about it Sometimes it gets stuck at 5w Can you describe what you were doing?
JorgiBob
JorgiBob3mo ago
No games - was just scrolling in steamos. Put it to sleep and woke it up.
antheas
antheas3mo ago
What was laggy the controller or the game
JorgiBob
JorgiBob3mo ago
what’s the best way to confirm the wattage it’s actually running at? It’s laggy after changing in HHD. Any logs you want me to grab?
antheas
antheas3mo ago
It's mangohud What tdp did you use before
JorgiBob
JorgiBob3mo ago
I put it to sleep on silent profile (13w) I haven’t launched any games prior to putting it to sleep, or after waking it up
antheas
antheas3mo ago
Time to do 50 more suspends then It's working So you needed to reboot afterwards?
JorgiBob
JorgiBob3mo ago
I haven’t rebooted yet. I just launched a game and it is chugging….taking orders of magnitude longer to launch Mangohud is reporting 8.9w despite being set to performance profile
antheas
antheas3mo ago
Yeah send a log journalctl -b | fpaste What was your battery when that happened
JorgiBob
JorgiBob3mo ago
80% (charge limit set)
antheas
antheas3mo ago
Plugged in?
JorgiBob
JorgiBob3mo ago
It got past the game menu and loaded. It’s saying 18w total and it’s struggling Not plugged in Let me exit the game and grab those logs
antheas
antheas3mo ago
Ok managed to do ut After I plugged and unplugged it very quirkly
antheas
antheas3mo ago
k latest update hhd i might have broken something oh well lets see no well it fixed itself now
JorgiBob
JorgiBob3mo ago
another data point..if helpful. I plugged it up to my dock and went into desktop mode to collect the logs. Unplugging and returning to game mode fixed the performance (and tdp is normal)
antheas
antheas3mo ago
that bug will be a pain to find
bq
bq3mo ago
why is TDP a dropdown, custom fan curve a dropdown, but standby mode on/off a slider? and the other boolean option on the page is a checkbox
antheas
antheas3mo ago
I want to add a third value So I made it a drop-down But the drop-down looked wrong So I made it a slider The third value will be while not in-game Hhd will check if you're gaming and if not enable it So you can exit a game and then make your ally sleep and save all the battery But that option is a bit dangerous to set right now so that will take a bit of testing
JorgiBob
JorgiBob3mo ago
As long as it’s not “might break your console dangerous” I’m happy to help volunteer to test. On the note of UI elements…i noticed when scrolling through options in HHD (specifically I was setting custom deadzones) - the screen doesn’t scroll/move with the selection (using dpad/joystick) until it reaches either the “Reset to Default” button or the heading “Deadzones & Vibration”. Sorry - a little off topic, but didn’t think it warranted another thread to mention.
antheas
antheas3mo ago
Yeah I'm aware of that No not much at most the controller will not work until you reboto
Jonno
Jonno3mo ago
@antheas Saw you need a OG ally to test, and I currently have my unused SSD in my Ally... Install latest release Bazzite and run bazzite-rollback-helper testing followed by echo 1 | sudo tee /sys/devices/platform/asus-nb-wmi/mcu_powersave - Is that correct?
antheas
antheas3mo ago
just open handheld daemon it has a toggle below battery limit on testing
Jonno
Jonno3mo ago
Ok, will get it installed and on testing now
Aru
Aru3mo ago
hrm, it should be bazzite-rollback-helper rebase testing I should look into adding an unknown option warning to the helper 🤔
Jonno
Jonno3mo ago
Just about got that far 😅 Ran with the 'rebase' added and it's retrieving ostree now Okay, extreme standby mode enabled @antheas Unless I'm missing something, controller is responding around 1s and resume is working perfectly. I'll install a game and try from there too. How can I be sure it's working 😅
Corpus
Corpus3mo ago
kek, i'm also running that command without rebase but anyway, i tested it and no problems so far
antheas
antheas3mo ago
Try extreme standby
Jonno
Jonno3mo ago
That was with it enabled. I left my ally running a game on standby overnight and it was still 100% battery 7 hours later
antheas
antheas3mo ago
you use a lockscreen?
Jonno
Jonno3mo ago
No
antheas
antheas3mo ago
great results then in my testing it is around 6 seconds ally x though
Jonno
Jonno3mo ago
Controller still behaving the same as I was getting before honestly, hence not convinced if it was actually on extreme standby 😅
antheas
antheas3mo ago
was the power light blinking?
Jonno
Jonno3mo ago
No I think not Just checking now and it isnt
antheas
antheas3mo ago
yup so it works
Jonno
Jonno3mo ago
I'll keep trying throughout the day and see if anything misbehaves
antheas
antheas3mo ago
nobody has managed to do it the patch is ready to go, we need to test other devices now it is AOK
Jonno
Jonno3mo ago
@antheas Just to check in, still working perfectly. Used it for a few mins but still had 98% battery since about 9 hours ago, did a little on it in 15w mode and now down to 95, all normal. I came from CachyOS so I can't do a direct comparison to previous Bazzite, but the controller resumes in pretty much the exact time I'm used to, around a second, consistently. Hope that helps, but seems like a great improvement Sorry, one last q - To go back to the main branch its rebase stable?
Aru
Aru3mo ago
yep you can type in bazzite-rollback-helper help if you want more info
Jonno
Jonno3mo ago
Perfect, thank you 🙂
JorgiBob
JorgiBob3mo ago
does the ErP option in bios (Ally X) do anything? It’s disabled by default.
doncabezon
doncabezonOP3mo ago
@JorgiBob I was just looking at that. I enabled it but haven’t seen much difference. My understanding is that it affects consumption when powered off and not in standby but that’s just asus webpage not actual testing
antheas
antheas3mo ago
Testing too
doncabezon
doncabezonOP3mo ago
If suspended in game I noticed the battery light static on while using extreme standby
antheas
antheas3mo ago
Your device did not sleep then Take a video of the RGB of the device and the top light while you make it sleep
doncabezon
doncabezonOP3mo ago
Seems like I can’t repeat it. Thought it was because I ran a game from the SD card, tried both. Tried the same game, no dice
antheas
antheas3mo ago
Oh well, we will keep it in mind
Jonno
Jonno3mo ago
@antheas Not sure if it's useful but I've been using the testing branch ever since, had no issues at all and honestly I'm amazed how well it works, literally getting like 1% battery drain in a day, if that, and zero impact on my use of the machine. Is it still waiting on testing through other devices?
antheas
antheas3mo ago
its waiting on kyle dunno for what thanks for testing
doncabezon
doncabezonOP3mo ago
@antheas wasn’t sure if I should start a new thread but latest testing update disables sound on Ally X. Tried verifying the selected devices in desktop mode. Reverting to stable restores sound
antheas
antheas3mo ago
Hi everyone, do not rebase to testing anymore. If you have don't update. We are missing a speaker patch on the new kernel Update with extreme mode and the non broken kernel that was there before is still scheduled for Monday Yeah, whoopsies If you still want to join the fun, use testing-40.20241009.0
Corpus
Corpus3mo ago
dang, i should pin my current deployment
antheas
antheas3mo ago
Update went live everyone switch to stable
Jonno
Jonno3mo ago
Now I am looking forward to the VRR FPS limiting patch 😅 do you know when that will hit testing?
antheas
antheas3mo ago
in 15 min approx
doncabezon
doncabezonOP3mo ago
Seems the speaker is still borked on testing
antheas
antheas3mo ago
Yea
Want results from more Discord servers?
Add your server