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,024
Last edited by Crystalseed,

Shadow LAG

Well-Known Member
Member
Joined
May 10, 2013
Messages
256
Trophies
1
Age
33
XP
568
Country
United States
Hold the phone. The way this is described, it sounds like you need to trigger bootrom > charging to bring the switch back to life if I am understanding correctly. People better be sure this isn't reliant on the bootrom as autorcm corrupts that. Autorcm can charge, but never trigger the battery / bootup sequence without first deploying a bootloader.

Has anyone confirmed bypassing this step by deploying a payload?
 
Last edited by Shadow LAG,

CTCaer

Developer
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,008
Country
Greece
Hold the phone. The way this is described, it sounds like you need to trigger bootrom > charging to bring the switch back to life if I am understanding correctly. People better be sure this isn't reliant on the bootrom as autorcm corrupts that. Autorcm can charge, but never trigger the battery / bootup sequence.

Has anyone confirmed bypassing this step by deploying a payload?
The re-enablement of the BATFET, aka battery re-connection, is triggered only by plugging your device to USB (wall adapter or PC).
This re-enables it and you can inject a payload, or with no autorcm it will power on the console.
 

Shadow LAG

Well-Known Member
Member
Joined
May 10, 2013
Messages
256
Trophies
1
Age
33
XP
568
Country
United States
The re-enablement of the BATFET, aka battery re-connection, is triggered only by plugging your device to USB (wall adapter or PC).
This re-enables it and you can inject a payload, or with no autorcm it will power on the console.

Thank you for the clarification. Sounds like this is the way to go then.
 

Xellar

Member
Newcomer
Joined
Sep 24, 2017
Messages
22
Trophies
0
Age
23
XP
185
Country
Switzerland
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.

https://github.com/crystalseedgba/BatteryFix here for everyone thats lazy.
And thanks that worked for me. :)
 
D

Deleted User

Guest
i don't really know if i done it right (i needed to plug my switch in to an ac adapter from my dock to turn on)
 

CatmanFan

Anxious and regretful
Member
Joined
Aug 14, 2016
Messages
1,962
Trophies
0
Website
www.youtube.com
XP
2,595
Country
Morocco
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.
Is it absolutely required to do Step 4?
 

CatmanFan

Anxious and regretful
Member
Joined
Aug 14, 2016
Messages
1,962
Trophies
0
Website
www.youtube.com
XP
2,595
Country
Morocco
How was lakka? Will you keep using it?
Well, it was a mess to set up. At one point, I thought my Switch was bricked but it turned out it wasn't (what a relief). Right now, I still need Paragon extFS before I can transfer my ROMs over to the Switch.
I will probably use Lakka not very often, but only when I really feel like it.
 
  • Like
Reactions: Zumoly

GitGudScrub

Member
Newcomer
Joined
Jun 30, 2018
Messages
9
Trophies
0
Age
26
XP
81
Country
United Kingdom
This payload is brilliant, solved the battery desync issue.
was about to disassemble the switch to disconnect then reconnect the battery
thx
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    20 some years later crash bandicoot still pisses me off
  • BigOnYa @ BigOnYa:
    Have you jail broke your ps4 yet?
  • K3Nv2 @ K3Nv2:
    I've been on since 9.0
    +1
  • BigOnYa @ BigOnYa:
    Are you gonna do your ps5 if the hack comes? Is there worries of bans, like the ps3
  • K3Nv2 @ K3Nv2:
    Probably not I got cross play friends
    +1
  • K3Nv2 @ K3Nv2:
    By then I'll have some little mini pc anyway
  • ZeroT21 @ ZeroT21:
    only ps5 updated to latest firmware can go on psn, jailbroken ones just don't use psn or they risk getting flagged or banned, altho spouting profanity in online play alredy does that
  • K3Nv2 @ K3Nv2:
    Keep current Gen consoles stock mod last gen imo
  • DinohScene @ DinohScene:
    Anyone dumb enough to get banned for spouting profanity deserves it.
    +1
  • Y @ YuseiFD:
    Then how come you do it and don't get banned ? or is it a question of getting caught doing it ?
  • BakerMan @ BakerMan:
    wtf is the point of banning swearing in games? that's utterly a dumb decision

    the new generation playing MWII won't be as hardened as the previous one playing original MW2
  • Veho @ Veho:
    What's the point of video games? Kids playing video games won't be as hardened as the previous ones getting shoved down a hillside.
    +2
  • BakerMan @ BakerMan:
    exactly my point
  • BakerMan @ BakerMan:
    kids, yall are fucking pussies, grow some asshair before you even dare touch My Friend Peppa Pig or Mario's Early Years
    +1
  • Bunjolio @ Bunjolio:
    ddddddddddddddddddddddd
  • Bunjolio @ Bunjolio:
    my fingie hurt
  • HiradeGirl @ HiradeGirl:
    Why?
  • Bunjolio @ Bunjolio:
    hangnail thing I think
  • BakerMan @ BakerMan:
    ... that's rough buddy
  • Psionic Roshambo @ Psionic Roshambo:
    This parrot is no more it has ceased to be!
  • Bunjolio @ Bunjolio:
    peepee
    Bunjolio @ Bunjolio: peepee