Please follow the below steps to solve your wifi problem in ubuntu linux 22.04
wifi.powersave = 3
change 3 to 2 and save
My wifi connection is often interrupted when using battery power, while using AC power, the connection is stable. It is solved after I modify the wifi.powersave to 2. Thank you very much!