There should be a teensy bit more info than that, fren...
Something along the lines of:
Linux expandedAnus 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 10:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
I think mint has neofetch in as standard, so if you could run neofetch in a terminal and copy/past the output of that as well, it would help.
Ubuntu. I know very little about computers.
No worries.
I can't find anything specific to your laptop or setup, so it looks like the simplest answer is that your battery is failing.
I've had similar issues with an Asus gaming laptop that just hit 5 years old. One day the battery just decided to quit.
There are some extremely nerdy command line tasks I could suggest, but if you're not overly techie they will just be a whole new dimension of frustration for you, and will likely arrive at the same solution: The quickest and simplest way to almost certainly* fix your issue would be to drop $20 on a new battery.
* Not a guarantee, but if it was my laptop...
I just asked Herr Bezos to send me a new one, he said he will deliver it in 2 days. Why people hate Amazon is a mystery to me.
I found this
.-MMMM`..-:::::::-..`MMMM-. OS: Linux Mint 20 x86_64
.:MMMM.:MMMMMMMMMMMMMMM:.MMMM:. Host: HP 15 Notebook PC Type1 - Prod
-MMM-M---MMMMMMMMMMMMMMMMMMM.MMM- Kernel: 5.4.0-70-generic
:MMM:MM :MMMM:....::-...-MMMM:MMM:Uptime: 1 hour, 11 mins
:MMM:MMM :MM::MMM:MMM: Packages: 2029 (dpkg)
.MMM.MMMM:MM. -MM. .MM-MMMM.MMM. Shell: bash 5.0.17
:MMM:MMMM:MM. -MM- .MM:MMMM-MMM: Resolution: 1366x768
:MMM:MMMM:MM. -MM- .MM:MMMM:MMM: DE: MATE
:MMM:MMMM:MM. -MM- .MM:MMMM-MMM: WM: Metacity (Marco)
.MMM.MMMM:MM:--:MM:--:MM:MMMM.MMM. WM Theme: Mint-Y
:MMM:MMM- -MMMMMMMMMMMM- -MMM-MMM: Theme: Mint-Y-Sand [GTK2/3]
:MMM:MMM::MMM:MMM: Icons: Mint-Y-Sand [GTK2/3]
.MMM.MMMM:--------------:MMMM.MMM. Terminal: mate-terminal
'-MMMM.-MMMMMMMMMMMMMMM-.MMMM-' Terminal Font: Monospace 10
'.-MMMM--:::::--MMMM-.' CPU: Intel Pentium N3540 (4) @ 2.665
'-MMMMMMMMMMMMM-' GPU: Intel Atom Processor Z36xxx/Z37
-:::::- Memory: 1212MiB / 3826MiB
(post is archived)