Cenovo mini pc 2 running Xubuntu auto power on and battery instead of desktop
The Cenovo mini pc 2 is Intel Z8300 based mini pc desktop with 4GB ram and 64GB eMMC rom. It has been running Windows 10 without problem.
Lately I install Xubuntu 18.04 (earlier Ubuntu 18.04) as dual boot. The problem are:
1. Xubuntu (and Ubuntu) sees it as a laptop because it always shows battery level sign on the task bar. If I unplug and replug my pc, boot it up, the battery level will be 100%, and keeps on reducing till 7%, and stay there without any issues (no forced shutdown). How do I make Xubuntu recognizes my PC as a desktop?
2. Auto power on after power outage: its bios has a setting for me to choose what to do after G3 state (power off). Options are S0 and S5. Even I choose S0, which, I believe, means to power on; my PC never auto power on after I unplug and replug my AC adapter. When I replug, the power on LED lit up for a moment and off, and not booting up (no UEFI dual boot option displays). Is there any way to make it work? I need to run it as Kubuntu server 24x7.
Thank you for any suggestion.