Laptop Power-on-Charge Mod

 — 
TL;DR

I soldered 2 relays to a laptop motherboard so it boots when powered. I ultimately didn’t need to, as hidden BIOS settings can do the same thing.


Background #

In February 2026, I received and old Acer laptop (released 2016) from a friend. As someone who’d started homelabbing, this seemed like a great little server machine.

The laptop with the service panel open. The removed optical drive connector is in the foreground, the 2 other drives are in the background.

So… what’s the catch?

The catch #

Digging around the BIOS, I noticed that there were very few settings. There was no “battery charge limiter”, which is great for a machine that will be charging 24/7. But most notably, there was no “Power on AC Attach” setting to automatically boot when the charger is connected.

This poses an issue.

What if the power goes out, the laptop drains its battery, and then the power comes back on? I assume the answer would be that it just wouldn’t turn back on.

Annoyingly, this setting is common on many other laptops, including my other homelab laptop.

Trying to overcome this #

I investigated a few ways to overcome this - each of which (and why they failed) is below:

Maybe a newer BIOS version has that functionality? #

Maybe. I tried looking for one on Acer’s website - but the driver search page wouldn’t accept my laptop’s serial number, or any of the ones I found online. It also stupidly doesn’t just have info & downloads without needing an S/N. Thankfully I somehow made it to the driver download page anyway.

Weirdly though, I did find some information online that indicates later BIOSes (at least v1.27) exist for this machine. But since I can’t find or install any of them, this idea is “myth busted”.

Seen from an Ubuntu live USB boot, my unit has a BIOS v1.12.

Use Wake On LAN? #

One setting that the BIOS actually does have is “Wake on LAN”. I thought about using this, but that’d require having either a router or other computer to wake it from sleep. Maybe an Arduino, maybe a Raspberry Pi, maybe it’d be automatic, maybe it’d be manual. Either way, I decided this was a bit of a pain and wouldn’t be the option I go with.

Just get a new computer bro? #

Well yeah, I could. But where’s the fun in that?

Plus, this way I’m not just creating more e-waste, and I get to write a cool post about it.

How about modding it? #

That might just work. Could use a solenoid to push the power button, relays to simulate it.

Following this bright spark of an idea, I turned to the web and ended up where all good ideas start - reddit (not).

This post sounded pretty promising, so I got to work.

Modding it #

The plan #

Like the post says, I planned to have 2 relays - a 24v one and a 5v one.

This way, we should have the following sequence of events:

  1. The power cable is plugged in
  2. This closes the 24v relay, shorting the power button
  3. The laptop begins to turn on
  4. The USB ports become powered
  5. This opens the 5v relay, disconnecting the 24v relay, which opens the power button
  6. Laptop boots as normal

Getting the parts #

I already had a cheap “Arduino 5v relay module”, so all I needed was the 24v one. It was easy to find at a local electronics store. I already had other things like wire, a soldering station & materials, a multimeter etc.

First thing I made sure to check was that it actually activated consistently with the 19v charger. Seemed to work ok.

Wait, where’s the power button? #

Unlike most laptops, this laptop’s power button is part of the keyboard.

This is a pain, because I assume it means the power button is connected to the motherboard through the keyboard connector, so its PCB traces will be less obvious than if the power button was standalone.

The motherboard of the laptop, as seen with the bottom shell removed.

Upon opening the laptop, I looked for the keyboard connector. I assumed it’d be a cable with a lot of pins somewhere, and one at the bottom of the mobo fit that description nicely. I watched a keyboard replacement video for some ideas on how to find the power button PCB traces, but it also showed me the keyboard connector.

The keyboard connector.

Looking at the connector, I noticed 2 pins on the right edge of it that had different looking PCB traces to the others. Since I assumed the power button wouldn’t be part of the normal keyboard interface (nor would it be routed to the same spot on the mobo), I checked for continuity between the two pins with my multimeter. Toggling the power button on and off while doing so, I found that the pins were open-circuit when not pressed, and about 236Ω when pressed.

I double checked this was actually the power button by shorting the two by hand (with a 225Ω resistor). Sure enough, the laptop turned on.

The keyboard connector, with the power button traces hijacked.

Where does the power come from? #

This part wasn’t so hard, since the charging barrel jack goes straight to a nice big connector on the mobo.

The charging port’s connection to the mobo.

Wiring it up #

The two relays. The cryptic pin numbers for the 24v relay correspond to inscriptions next to the pins.

5v relay connections #

Relay pinLaptop connectionRelay pin use
SUSB +5vSignal - for controlling the relay coil
+USB +5vPower - for providing power to the module
-USB groundGround - power’s other half
NCCharger +19vNormally closed - the pin of the relay’s “switch” end that is connected to COM when the relay coil is off
NON/ANormally open - the opposite of NC (connected to COM when the coil is on)
COMThe 24v relay’s positive coil inputCommon - the central part of the relay’s “switch” end

24v relay connections #

Relay pinLaptop connectionRelay pin use
Pin 30 (COM)Power button -See above table
Pin 85 (Coil +)Charger -One end of the relay coil
Pin 86 (Coil -)Charger + (via the 5v relay’s COM-NC pathway)The other end of the relay coil
Pin 87 (NO)Power button +See above table
Pin 87a (NC)N/ASee above table

So, I soldered it up and hot glued the tiny flimsy connections so they (hopefully) wouldn’t snap off and short things.

I put connectors everything, so I could remove the relays if I wanted it to be a normal laptop again, and so I could remove/reinstall the bottom shell easily.

The mobo with both relays installed.

Soldering the USB to relay connection.

Fini #

The laptop, all modded and reassembled. Don’t mind the terrible attempt to repair the fan grille in the right of frame - this laptop has seen better days.

Yay, it works! Few tests with the shell off, and a few with it on, it all looks good to me (even despite me sparking the 19v charge rails once - oops).

Problem? #

Well the relay mod works fine.

But…

Turns out I didn’t actually have to do this 🤦‍♂️. While searching around, I discovered that Acer laptops have a hidden advanced BIOS menu. If you boot the laptop and enter the BIOS while holding Fn + Tab, you get access to the “power” and “advanced” tabs in the BIOS.

While these didn’t explicitly have a “Power on AC” option that I was hoping for - they had 2 substitutes that work just fine instead.

“State after G3” Setting #

Buried deep in the “Advanced” tab, this setting dictates what state the system goes into after “G3” (mechanical off). Based on some loose googling, this appears to dictate what the laptop does after a power failure - like running out of battery. The options are “S0” and “S5” states - which correspond to sleep and full-on respectively.

The “State after G3” setting. The screen is a little busted, hence the dark corner.

Naturally, we want it to boot after power failure, so S5 it is. You can read more about the state terminology here.

“Auto Wake on S5” Setting #

This setting is a bit more obvious to find, and is the real holy grail we’re looking for. One of the options for this setting is “By Every Day” - which allows us to boot the computer with an RTC alarm. So, at a specific time each day, the computer will boot itself.

This means that we essentially can have the computer auto-boot on power, since as long as it has power, it’ll try and boot once a day. Combined with the boot after power-loss, and we’ve got ourselves a good server setup.

The “Auto Wake on S5” setting.

Fini - Part 2 #

Welp - time to remove all the relays so it sits nicer on my desk :)

At least I got a cool blog post out of it.