Auto Power ON pi-top

Hello,

I have been using my pi-top 4 to selfhost a few things at home and I recently had a power blip and noticed that pi-top was offline. It looks like pi-top battery is dead and won’t charge past 0% and no real easy way to replace it.

Is there anyway to make it so that it auto starts when power is connected so that I can continue using as a server?

I believe there’s ways to configure Linux to autostart.