diff --git a/cosmic-applet-battery/src/backlight.rs b/cosmic-applet-battery/src/backlight.rs
index 0e15580a..db9a8705 100644
--- a/cosmic-applet-battery/src/backlight.rs
+++ b/cosmic-applet-battery/src/backlight.rs
@@ -2,18 +2,18 @@
// How should key bindings be handled? Need something like gnome-settings-daemon?
use std::{
+ fmt::Debug,
fs::File,
+ hash::Hash,
io::{self, Read},
os::unix::ffi::OsStrExt,
path::Path,
str::{self, FromStr},
- hash::Hash,
- fmt::Debug
};
use cosmic::iced;
use iced::subscription;
-use tokio::sync::mpsc::{UnboundedReceiver, UnboundedSender, unbounded_channel};
+use tokio::sync::mpsc::{unbounded_channel, UnboundedReceiver, UnboundedSender};
const BACKLIGHT_SYSDIR: &str = "/sys/class/backlight";
@@ -61,7 +61,7 @@ pub async fn backlight() -> io::Result