path: root/utility.cpp
diff options
authorMatthew Barth <>2018-05-09 14:55:41 -0500
committerMatthew Barth <>2018-05-17 12:13:36 -0500
commit26e96122ee89ccaa2de317deb70af5dc5011f48f (patch)
treebd3f48d8ba8e31630358ed434da81cbee9a0166e /utility.cpp
parent88923a06e6fdceb452157b712587176b677bb917 (diff)
Use setProperty function in fan set speed
When a fan's target speed is set, using the setProperty function allows for better handling of dbus failures setting the fan target property. If a failure occurs setting this property, a journal entry is created and a DBusPropertyError exception is thrown to allow the fan control application to exit and restart quickly in its allowed attempts configured in systemd. Tested: Fan control application logs an error to the journal and then terminates when a dbus error occurs setting a fan target speed. Change-Id: Ibd4bd8b18b6010727831d97e32c14fd6c681e170 Signed-off-by: Matthew Barth <>
Diffstat (limited to 'utility.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud