diff --git a/roles/laptop/files/chargecontrol.service b/roles/laptop/files/chargecontrol.service deleted file mode 100644 index 5ee8f89..0000000 --- a/roles/laptop/files/chargecontrol.service +++ /dev/null @@ -1,5 +0,0 @@ -[Service] -ExecStart=framework_tool --charge-limit 87 - -[Install] -WantedBy=default.target diff --git a/roles/laptop/handlers/main.yml b/roles/laptop/handlers/main.yml index f7f8ba6..18d48bd 100644 --- a/roles/laptop/handlers/main.yml +++ b/roles/laptop/handlers/main.yml @@ -6,8 +6,3 @@ service: name: power_monitor.service state: restarted - -- name: restart charge control - service: - name: chargecontrol.service - state: restarted diff --git a/roles/laptop/tasks/framework.yml b/roles/laptop/tasks/framework.yml index 1985cfa..31a888a 100644 --- a/roles/laptop/tasks/framework.yml +++ b/roles/laptop/tasks/framework.yml @@ -4,21 +4,3 @@ name: framework-system tags: - framework - -- name: Copy charge control service - copy: - src: chargecontrol.service - dest: /etc/systemd/system/ - notify: - - reload systemd config - - restart charge control - tags: - - framework - -- name: Enable and start charge control service - service: - name: chargecontrol.service - enabled: yes - state: started - tags: - - framework