Is it possible to make ubuntu always think that system is on battery supply?
Thank you.
Is it possible to make ubuntu always think that system is on battery supply?
Thank you.
First of all, the AC and Battery power information normally is supplied to the kernel via an embedded controller on the motherboard and this ultimately gets handled by ACPI via the kernel ACPI driver layer and so userspace programs get this kind of AC/Battery data via this mechanism.
Normally you don't have any smart controls to tell the underlying hardware to make the system believe it is on battery power when in fact it is being powered by AC. A lot of machines have BIOS/Embedded controller interactions outside the domain of the kernel control that twiddle fan speeds; so you may find there is no easy way to make the operating system do what you are requiring.
Some laptops do have fan controls in their platform drivers, but a lot don't - the fan control is driven by the BIOS and not under kernel control.