Tutorial  Updated

Fix for Linux Battery issue

Here's a quick and easy fix for the turning off at 40% battery issue that people are seeing after running Linux. This is effectively the same fix as unplugging the battery, but does so without having to take apart the Switch.

Step 1: Download attached fusee-linux-battery-fix.rar
Step 2: Extract and load the binary with your favorite RCM Smash tool (I'm using TegraRcmSmash).
Step 3: You should see the typical fusee screen, at this point unplug the USB cable. The screen should go off.
Step 4 (optional?): Hold the power button for 10 seconds. Your switch won't turn on at this point, that's desired.
Step 5: Plug in a USB cable. Switch will turn on, and you're done.

This worked to fix my Switch, let me know if it works for you.

Edit:

Source is here:

github/crystalseedgba/BatteryFix/blob/master/fusee/src/main.c (Sorry it's not letting me post hyperlinks)

This doesn't fix the Linux bug, this is really just a crude workaround. At first I suspected that Linux is somehow mangling the battery gauge but this doesn't seem to be the case. The battery gauge reports around 40% and decent battery voltage when my Switch would turn off. I think Linux is misconfiguring some undervoltage lockout somewhere, but I don't know where.

Thanks to jjbredesen for his "How to make a custom Fusee payloads" tutorial.
 

Attachments

  • fusee-linux-battery-fix.rar
    14.2 KB · Views: 2,027
Last edited by Crystalseed,

Notex

Well-Known Member
Newcomer
Joined
Mar 21, 2017
Messages
68
Trophies
0
Age
26
XP
550
Country
Australia
must it be fully charged before sending this payload?
can i use the tx menu to send a payload?

im hopeful for this to fix the slow charging thing as well. (had no power off on lower %)
No I did mine at 97% charge and it's worked fine. And I assume it'll work with the TX menu.
 
  • Like
Reactions: leonmagnus99

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
33
Location
Seinegald
XP
2,875
Country
Iraq
No I did mine at 97% charge and it's worked fine. And I assume it'll work with the TX menu.
cool, its no biggie.
i could just power it off, i have autorcm enabled.

and in the autorcm mode i only need to send payload.
but then what exactly would happen?

will something pop up ? some ui ?
if not , then can i proceed to sending the tx payload to boot into cfw.
 
  • Like
Reactions: cmv

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,912
Country
Hungary
cool, its no biggie.
i could just power it off, i have autorcm enabled.

and in the autorcm mode i only need to send payload.
but then what exactly would happen?

will something pop up ? some ui ?
if not , then can i proceed to sending the tx payload to boot into cfw.
I'd definitely disable autoRCM before running this. Not an expert on the matter but autoRCM is known to do some weird things to the battery/charging.
 
  • Like
Reactions: xXxSwagnemitexXx

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
33
Location
Seinegald
XP
2,875
Country
Iraq
it tells you to unplug the USB cable
gotcha, so when im sending payload it will tell to unplug and thats it?
will it reboot into ofw or something after ?

I'd definitely disable autoRCM before running this. Not an expert on the matter but autoRCM is known to do some weird things to the battery/charging.
darn it, im too lazy to keep sticking foil in it.
is it rly a bad idea running this payload from autorcm? ._.
 
  • Like
Reactions: cmv

xXxSwagnemitexXx

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Member
Joined
Dec 7, 2016
Messages
674
Trophies
0
Age
27
Location
New Donk City
XP
1,003
Country
United Kingdom
gotcha, so when im sending payload it will tell to unplug and thats it?
will it reboot into ofw or something after ?
once you unplug the USB the screen goes black, you hold the power button for 10 - 15 seconds (nothing will happen, which is good). You then plug the USB back in and it should boot to OFW

I did this without AutoRCM tho, so if you have that then it may be different
 

leonmagnus99

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
3,704
Trophies
2
Age
33
Location
Seinegald
XP
2,875
Country
Iraq
once you unplug the USB the screen goes black, you hold the power button for 10 - 15 seconds (nothing will happen, which is good). You then plug the USB back in and it should boot to OFW

I did this without AutoRCM tho, so if you have that then it may be different
better to be safe, so jamming foil in again it is then..
hmm, i'll see how it goes.

as long as this solves battery issues then cool, but what about having autorcm enabled again after doing this ? :l
is autorcm the reason for these battery issues or tx os cfw ?

if its tx cfw, then is there a chance of the bug returning after booting back into tx cfw x.x?
 

xXxSwagnemitexXx

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Member
Joined
Dec 7, 2016
Messages
674
Trophies
0
Age
27
Location
New Donk City
XP
1,003
Country
United Kingdom
better to be safe, so jamming foil in again it is then..
hmm, i'll see how it goes.

as long as this solves battery issues then cool, but what about having autorcm enabled again after doing this ? :l
is autorcm the reason for these battery issues or tx os cfw ?

if its tx cfw, then is there a chance of the bug returning after booting back into tx cfw x.x?
the bug is caused by running linux/shofel2 or from a bug in firmware 3.0.0 (i think its 3.0.0, i dont remember exactly though)
 

Bartesco

Active Member
Newcomer
Joined
Feb 6, 2016
Messages
28
Trophies
0
Age
26
XP
335
Country
Spain
Playing Zelda at 34% and it doesn't turns off, this seems to work. THANK YOU!!!

Enviado desde mi SM-G930F mediante Tapatalk
 

BlastedGuy9905

where's the updated autopsy report
Member
Joined
Apr 13, 2017
Messages
2,334
Trophies
1
Age
33
Location
under your desk
XP
4,043
Country
United States
Here's a quick and easy fix for the turning off at 40% battery issue that people are seeing after running Linux. This is effectively the same fix as unplugging the battery, but does so without having to take apart the Switch.

Step 1: Download attached fusee-linux-battery-fix.rar
Step 2: Extract and load the binary with your favorite RCM Smash tool (I'm using TegraRcmSmash).
Step 3: You should see the typical fusee screen, at this point unplug the USB cable. The screen should go off.
Step 4 (optional?): Hold the power button for 10 seconds. Your switch won't turn on at this point, that's desired.
Step 5: Plug in a USB cable. Switch will turn on, and you're done.

This worked to fix my Switch, let me know if it works for you.
I did this. Now, I'm going to use my Switch in handheld mode for a good few hours. If this works... I will be left speechless.
 
  • Like
Reactions: xXxSwagnemitexXx

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Going with that right now with a dental claim morons put the wrong company name and rejected claims been on hold an hour for the claims department
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, BTW is it better to go usb or bt for these mini Pcs figure you may know since you play with rack systems so much
  • Sicklyboy @ Sicklyboy:
    Counting my blessings that my insurance hasn't caused me really any headache (yet, at least) despite the fact that I've been getting way more appointments and what not recently due
  • Sicklyboy @ Sicklyboy:
    @K3Nv2, what do you mean, what are you trying to do?
  • K3Nv2 @ K3Nv2:
    Just looking at a built in mouse pad keyboard combo
  • K3Nv2 @ K3Nv2:
    I loose the dongle constantly but they may have better connection with usb frequency
  • Sicklyboy @ Sicklyboy:
    Imo Bluetooth is always a option of last resort for me
  • Sicklyboy @ Sicklyboy:
    Except for phones because it tends to be pretty reliable there
  • K3Nv2 @ K3Nv2:
    I got a bad habit of taking out usb transmitter and loosing it because they can't you know print names on the damn things
  • Sicklyboy @ Sicklyboy:
    But any desktop OS, I've never had anything but frustration trying to get Bluetooth devices to work reliably and stable. It might pair and connect once, and then next time I go to use it I have to delete and re-pair it again
  • K3Nv2 @ K3Nv2:
    5.3 has been so good I think 6 is really going to make it stable
  • K3Nv2 @ K3Nv2:
    I remember how shit 3 was
  • Sicklyboy @ Sicklyboy:
    Ptouch labeler aren't terribly expensive, label shit yourself fam. This is the one I own and there are cheaper ones too https://www.amazon.com/Brother-P-Touch-PTH110BP-Portable-included/dp/B09QXYND6S
  • Sicklyboy @ Sicklyboy:
    Solves part of the problem, mixing up which dongle is which. Then you just have to not lose them lol
  • K3Nv2 @ K3Nv2:
    Double D would be proud
    +1
  • Sicklyboy @ Sicklyboy:
    Even my Xbox One controller I have it paired to my desktop over Bluetooth, it USUALLY works but sometimes it refuses to connect and I have to delete and re-pair it. Maddening
  • K3Nv2 @ K3Nv2:
    Gigabytes built in mobo bt/wifi pairs pretty decent
  • Sicklyboy @ Sicklyboy:
    That's what I'm using :(
  • K3Nv2 @ K3Nv2:
    Ran a driver update in device manager?
  • Sicklyboy @ Sicklyboy:
    Not recently but I think it's less a driver issue and more just Windows having a garbage Bluetooth stack
  • K3Nv2 @ K3Nv2:
    Could be I was having issues when I first upgraded it and didn't realiser gigabyte has specific driver revisions which is stupid
  • K3Nv2 @ K3Nv2:
    Which is married to the boards revision
  • Xdqwerty @ Xdqwerty:
    Made my first review
  • RedColoredStars @ RedColoredStars:
    I've gone years without ever removing a logitech usb transmitter. Across several replacements of keyboards and mice. It just stays put.
  • Sicklyboy @ Sicklyboy:
    tldr usb > bluetooth imo
    Sicklyboy @ Sicklyboy: tldr usb > bluetooth imo