Package Details: system76-power 1.2.1-1

Git Clone URL: https://aur.archlinux.org/system76-power.git (read-only, click to copy)
Package Base: system76-power
Description: System76 Power Management
Upstream URL: https://github.com/pop-os/system76-power
Licenses: GPL
Provides: power-profiles-daemon
Submitter: ebobby
Maintainer: tleydxdy
Last Packager: tleydxdy
Votes: 13
Popularity: 0.78
First Submitted: 2018-07-05 23:47 (UTC)
Last Updated: 2024-08-22 18:09 (UTC)

Dependencies (7)

Required by (22)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

kucksdorfs commented on 2021-06-19 20:01 (UTC)

I just upgraded this package and now it fails to start system76-power.service.

I get the following when I run journalctl -xeu system76-power.service:

"system76-power[1205]: Connection ":1.25" is not allowed to own the service "com.system76.PowerDaemon" due to security policies in the configuration file"

There are other lines, but that seems the most relevant.

tleydxdy commented on 2021-06-19 03:39 (UTC)

@yochananmarqos good question, I guess the PKGBUILD was originally written when the Makefile is not there or something. fixed

yochananmarqos commented on 2021-06-15 18:02 (UTC) (edited on 2021-06-15 18:03 (UTC) by yochananmarqos)

@tleydxdy: Why not just use the Makefile?

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make sysconfdir=/usr/lib DESTDIR="${pkgdir}" install
}

tleydxdy commented on 2021-04-30 01:42 (UTC)

@nox404 good catch, thanks! I can add you to the co-maintainer list, I think more people with different devices might be helpful, I only have a galp3 :(

changes are pushed

yochananmarqos commented on 2021-04-29 20:17 (UTC)

@nox404: Nice catch, I missed that. it would follow that polkit is a required dependency as well.

nox404 commented on 2021-04-29 18:43 (UTC) (edited on 2021-04-29 19:00 (UTC) by nox404)

Hello,

The package doesn't install the polkit policy to /usr/share/polkit-1/actions/com.system76.powerdaemon.policy

https://raw.githubusercontent.com/pop-os/system76-power/master/data/com.system76.powerdaemon.policy

The set-charge-thresholds function cannot work without it

You can add this to the PKGBUILD to implement this:

install -Dm755 data/com.system76.powerdaemon.policy "${pkgdir}/usr/share/polkit-1/actions/com.system76.powerdaemon.policy"

Also I'd love to get pointers on how to directly contribute and submit a PR to this or something like that (never packaged anything on arch :P )

mikisman81 commented on 2021-04-22 17:20 (UTC)

This works great even as a stand alone package (without the other S76) for my Lemur and Darter Pro.

After installing make sure of 2 things.

  1. Your user is in the admin group (sudo gpasswd -a $USER adm)

  2. That you have started the system76-power service (sudo systemctl enable --now system76-power)

Might need to reboot, but you should be great. You can test it by dropping to a terminal and doing "system76-power profile"

prodper commented on 2021-03-16 12:46 (UTC) (edited on 2021-03-16 13:02 (UTC) by prodper)

I've installed all deps and optional deps. And also did all necessary from arch wiki: https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Use_NVIDIA_graphics_only

But sudo system76-power graphics integrated doesn't switch off nvidia gpu. It enables compute mode.

What did I miss? Or there are more dependencies that not listed in depends?

yochananmarqos commented on 2021-02-28 15:23 (UTC)

@wfleming: The Pop_OS! package depends on ubuntu-drivers-common which includes usb-utils (libusb).

namcap also agrees:

system76-power I: Link-level dependence (libusb) in file ['usr/lib/libusb-1.0.so.0']
system76-power I: Depends as namcap sees them: depends=(dbus libusb)