# Economie d'énergie : Powertop !

**URL:** <https://www.debian-fr.org/t/economie-denergie-powertop/67728>\
**Category:** Trucs et Astuces\
**Created:** [Février 21, 2016, 10:09 UTC](https://www.debian-fr.org/t/economie-denergie-powertop/67728 "2016-02-21T22:09:40Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Juillet 8, 2016, 11:47 UTC](https://www.debian-fr.org/t/economie-denergie-powertop/67728/7 "2016-07-08T11:47:13Z")

</div>

pour automatiser au démarrage, on se créé un service en créant le fichier

/etc/systemd/system/powertop.service

avec le conenu suivant

```
[Unit]
Description=Powertop tunings

[Service]
Type=oneshot
ExecStart=/usr/sbin/powertop --auto-tune

[Install]
WantedBy=multi-user.target

```

on l’active

`root@debian:/etc/systemd/system# systemctl enable powertop.service`

Et au reboot ça doit être ok

```
systemctl status powertop.service

● powertop.service - Powertop tunings
   Loaded: loaded (/etc/systemd/system/powertop.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since ven. 2016-07-08 13:40:05 CEST; 50s ago
 Main PID: 2594 (code=exited, status=0/SUCCESS)
```

---

_[View the full topic](https://www.debian-fr.org/t/economie-denergie-powertop/67728)._
