Have a similar issue with powering on my acer nitro 5. Power button doesn’t usually work but tapping F2 does turn the laptop on. However laptop switches off after 4-5 seconds. Remedy, remove the bottom cover, turn laptop on as above then unclip the keyboard connector. Laptop stays on and restarts fine using windows. Assume keyboard fault!