Hi,
On 3/18/21 7:54 AM, Beautex wrote:
Long story short: We have one of those little $100 Chinese mini PCs running 18.04 LTS. ("Wintel Pro" / "Wintel Box") It thinks it has a battery, possibly because it thinks it is a laptop. The "battery" level notifications - that I have tried a million ways to kill - are driving me nuts because I'm trying to use this machine to run a looping slideshow while the workplace is open.
Long story short: We have one of those little $100 Chinese mini PCs running 18.04 LTS. ("Wintel Pro" / "Wintel Box") It thinks it has a battery, possibly because it thinks it is a laptop. The "battery" level notifications - that I have tried a million ways to kill - are driving me nuts because I'm trying to use this machine to run a looping slideshow while the workplace is open.
Thought I might have had this fixed but HAHAHA NOPE
Related question: Why does Ubuntu power management set a battery as the default power supply on a desktop machine?
This is where someone asked "What is the output of laptop-detect -v?"
It is: We're a laptop (non device ACPI batteries found)
But we are emphatically not a laptop, and we don't want to be a laptop. How can we not be a laptop? https://www.miscof.com/best-laptops-for-medical-schools-in-2020-top-reviews/
CPU is Intel Atom x5-Z8350. Do let me know if additional information is required. The fault may have nothing to do with Ubuntu but I live in hope Ubuntu might have the tools to fix it.
Notice that you send this email to a Fedora mailinglist and Fedora is a different Linux distribution.
With that said, this is a known issue with some of these Intel Atom x5-Z83xx based boxes, they use an AXP288 PMIC and often the BIOS does not turn off the fuel-gauge (battery monitoring) part of this chip.
The driver for the AXP288 fuel-gauge contains a list of devices like this: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/driv...
So the fix will be to add your device to this list.
Please as a regular user in a terninal run:
grep . /sys/class/dmi/id/* 2> /dev/null
On the device and then copy and paste the output into your next email / reply.
That will give me the info which I need to add your device to the no-fuel-gauge list.
Regards,
Hans
On Thu, Mar 18, 2021 at 12:29:43PM +0100, Hans de Goede wrote:
Notice that you send this email to a Fedora mailinglist and Fedora is a different Linux distribution.
That's because it's not a real message -- it's link spam with copypasta. I'll report to infrastructure -- no need to respond further.
On 18.3.2021 12:57, Matthew Miller wrote:
On Thu, Mar 18, 2021 at 12:29:43PM +0100, Hans de Goede wrote:
Notice that you send this email to a Fedora mailinglist and Fedora is a different Linux distribution.
That's because it's not a real message -- it's link spam with copypasta. I'll report to infrastructure -- no need to respond further.
Regardless if it's a spam or not the Desktop/OS should be smart enough to set the power profile to maximum/performance and disable any kind of power saving related services if the device does not contain a battery and is always on AC power but given that grub/kernel literally froze on update ( which has not happened to me for years using Fedora ) on my ThinkCentre Nano M90n-1 ( which is a "Chinese mini PC " )when testing the latest F34 updates and kicks users briefly into the terminal ( like GDM is being restarted ) when user logs out or the fact that GDM does not display full names for more than one ( local ) user account etc. shows quite clearly that F34/Gnome get limited, if any testing on "desktop/workstation" HW and related use cases ( multiple user accounts local/external etc ).
JBG
desktop@lists.fedoraproject.org