Package Details: tpacpi-bat-git 3.1.r12.g4959b52-1

Git Clone URL: https://aur.archlinux.org/tpacpi-bat-git.git (read-only, click to copy)
Package Base: tpacpi-bat-git
Description: A Perl script with ACPI calls for recent ThinkPads which are not supported by tp_smapi
Upstream URL: https://github.com/teleshoes/tpacpi-bat
Licenses: GPL3
Conflicts: tpacpi-bat
Provides: tpacpi-bat
Submitter: Lucky
Maintainer: freswa
Last Packager: freswa
Votes: 22
Popularity: 0.013626
First Submitted: 2013-04-27 15:59 (UTC)
Last Updated: 2020-05-17 14:36 (UTC)

Latest Comments

commented on 2013-08-13 04:38 (UTC)

I needed to add "After=tlp.service" to [Unit] in tpacpi-bat.service. This way tpacpi always starts after tlp has loaded. [Unit] Description=sets battery thresholds After=tlp.service [Service] Type=oneshot ExecStart=/usr/bin/tpacpi-bat -s ST 0 40 ExecStart=/usr/bin/tpacpi-bat -s SP 0 80 [Install] WantedBy=multi-user.target

Lucky commented on 2013-08-12 17:59 (UTC)

Mhm, i did not know much about systemd now, but for me it works without problems. I only need rebuild acpi_call, but this is not your error because 2nd start works without problems. Have anyone a hint/fix?

commented on 2013-08-11 18:33 (UTC)

tpacpi-bat fails to start on boot, but I'm able to execute it manually after boot. [hit@arch ~]$ systemctl status tpacpi-bat.service tpacpi-bat.service - sets battery thresholds Loaded: loaded (/usr/lib/systemd/system/tpacpi-bat.service; enabled) Active: failed (Result: exit-code) since P 2013-08-11 14:00:59 EEST; 5min ago Process: 310 ExecStart=/usr/bin/tpacpi-bat -s ST 0 40 (code=exited, status=2) [hit@arch ~]$ sudo systemctl start tpacpi-bat.service [hit@arch ~]$ systemctl status tpacpi-bat.service tpacpi-bat.service - sets battery thresholds Loaded: loaded (/usr/lib/systemd/system/tpacpi-bat.service; enabled) Active: inactive (dead) since P 2013-08-11 14:06:46 EEST; 4s ago Process: 1330 ExecStart=/usr/bin/tpacpi-bat -s SP 0 80 (code=exited, status=0/SUCCESS) Process: 1327 ExecStart=/usr/bin/tpacpi-bat -s ST 0 40 (code=exited, status=0/SUCCESS)

Lucky commented on 2013-07-14 19:46 (UTC)

@test0 Is this a proper solution? install -Dm322 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" install -Dm644 "${_pkgname%-*}.service" "${pkgdir}/usr/lib/systemd/system/${_pkgname}.service" Yes i know Archlinux Perl Policies, but this is a program and no module. The other way is to patch the service file. I upload the /usr/bin version right now and will be change this maybe after feedback to patch service file version.

test0 commented on 2013-06-28 11:20 (UTC)

The service file this package installs is wrong. Replace it with this one: http://pastebin.com/b6Gq7K8K The path for the file is /usr/lib/systemd/system/tpacpi-bat.service This is only a temporary fix related to the Archlinux Perl Policies.