mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
asahi-scripts: add conf file for battery
This commit is contained in:
parent
524efa816c
commit
db7363e47d
2 changed files with 4 additions and 1 deletions
1
srcpkgs/asahi-scripts/files/macsmc-battery.conf
Normal file
1
srcpkgs/asahi-scripts/files/macsmc-battery.conf
Normal file
|
@ -0,0 +1 @@
|
|||
CHARGE_CONTROL_END_THRESHOLD=80
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'asahi-scripts'
|
||||
pkgname=asahi-scripts
|
||||
version=20250426.1
|
||||
revision=1
|
||||
revision=2
|
||||
archs="aarch64*"
|
||||
build_style=gnu-makefile
|
||||
make_install_args="install-dracut install-mkinitcpio
|
||||
|
@ -21,9 +21,11 @@ post_install() {
|
|||
|
||||
asahi-macsmc-battery-udev_package() {
|
||||
short_desc="Battery udev rules for Apple silicon"
|
||||
conf_files="/etc/udev/macsmc-battery.conf"
|
||||
conflicts="tlp"
|
||||
pkg_install() {
|
||||
vmove usr/lib/udev/rules.d
|
||||
vmove usr/lib/systemd/system
|
||||
vinstall ${FILESDIR}/macsmc-battery.conf 0644 etc/udev
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue