Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2018 13:27:34 +0100
From:      Julien Cigar <julien@perdition.city>
To:        Ken M <ken@mack-z.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Power management
Message-ID:  <20181129122734.GR26775@mordor.lan>
In-Reply-To: <20181129113646.GA45451@ultron>
References:  <20181129113646.GA45451@ultron>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--kAOhhqH5290wydqT
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 29, 2018 at 06:36:46AM -0500, Ken M wrote:
> Recently returning as a freebsd desktop/laptop user. I have a thinkpad t4=
40 that
> previously ran openbsd and now has freebsd 11.2 on it.
>=20
> I am noticing that it seems freebsd is consuming the battery slightly fas=
ter.
> Granted that could easily be explained by perhaps usage.
>=20
> However one thing I cannot seem to dig up is setting a defauly boot brigh=
tness.
> Now the t440 brightness keys work just fine. In fact no tweaks needed. So=
 I am
> guessing it is a bios function. I was thinking a sysctl setting would do =
it but
> case in point.
>=20
> sysctl hw.acpi
> hw.acpi.acline: 0
> hw.acpi.battery.info_expire: 5
> hw.acpi.battery.units: 2
> hw.acpi.battery.state: 1
> hw.acpi.battery.time: 267
> hw.acpi.battery.life: 96
> hw.acpi.thermal.tz0._TSP: -1
> hw.acpi.thermal.tz0._TC2: -1
> hw.acpi.thermal.tz0._TC1: -1
> hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
> hw.acpi.thermal.tz0._CRT: -1
> hw.acpi.thermal.tz0._HOT: -1
> hw.acpi.thermal.tz0._PSV: -1
> hw.acpi.thermal.tz0.thermal_flags: 0
> hw.acpi.thermal.tz0.passive_cooling: 0
> hw.acpi.thermal.tz0.active: -1
> hw.acpi.thermal.tz0.temperature: 36.1C
> hw.acpi.thermal.user_override: 0
> hw.acpi.thermal.polling_rate: 10
> hw.acpi.thermal.min_runtime: 0
> hw.acpi.cpu.cx_lowest: C8
> hw.acpi.reset_video: 0
> hw.acpi.handle_reboot: 1
> hw.acpi.disable_on_reboot: 0
> hw.acpi.verbose: 0
> hw.acpi.s4bios: 0
> hw.acpi.sleep_delay: 1
> hw.acpi.suspend_state: S3
> hw.acpi.standby_state: NONE
> hw.acpi.lid_switch_state: S3
> hw.acpi.sleep_button_state: S3
> hw.acpi.power_button_state: S5
> hw.acpi.supported_sleep_state: S3 S4 S5
>=20
> No brightness settings there. On a whim I thought I would see what xbackl=
ight
> could do for me.
>=20
> xbacklight -get
> No outputs have backlight property
>=20
> So I guess the long and short of my question is what would be the correct=
 way to
> set the brightness at boot? And also is there perhaps any other tweaks I =
could
> make to improve battery life?

try to add:

in /boot/loader.conf:
acpi_video_load=3D"YES"

in /etc/sysctl.conf:
hw.acpi.video.lcd0.brightness=3D50

>=20
> Thank you,
> Ken
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

--=20
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

--kAOhhqH5290wydqT
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlv/2zIACgkQsrs3EKIE
I8CEaA/5AdhHH7B194sDzBjiaYwMm0JsyEEczjhD3AstPSNrIBfLukEz/lr1NaI8
RF2o/GMjP9U4VxiS/91vtLEOinzr5xi461hKZ8BNEfpd0psAACZcLekmJyd+6wzx
hvVVFjJ3DpnHmWWbCt/F6REtnmcUrayuuPKyUwpyvUzfLuwPxJLgzjpL9WweJfDN
X5NGz4LCncoHfhgSrJ2zNDmHeicsNCsysa54F3zGPSTss/Lt3x34pwtHBsJV9cJM
RGoYbRg6NCsCXpHtFsSTHp+CFI2aMcZkFVHPUp9DoShO+V5gqbyD9UMGU5SX4Rxk
xzMxo9SWFegqz/vuxejW7jrveNwCjxyDR53JgqPwt0yUOboCPxktPUbnCEudDmRV
+NLalSRYI4+1fpwZ870YY+I4m6SjgXnC+wACbK/OYK6bX9esSk4j1sRnBWt27vXr
VxCIraSeSh8Cjc9+nm5FxW+z1DiXC+Hoa7Z5CwOH4F2xMDTTVuknef968gyM+kIM
fHFqqBcgC95iPY6/EbYKQKPyxrJmLIJzq0HKoRVOrbct2FJS1abHqPLRvV1TtTRd
D6c2zjVKBrTvXy+PBclWw1kkMhSaAz8XbsIbJK6DPsWjS8EOYDahfwLFWnqZQpdc
lmiGvVqapX56cq3gHYGa8G3kr9udRQNwKQmlMF+hZBIFN7u6ULw=
=vXtV
-----END PGP SIGNATURE-----

--kAOhhqH5290wydqT--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20181129122734.GR26775>