We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f4437a + 1e58fdf commit 3169053Copy full SHA for 3169053
framework_lib/src/power.rs
@@ -305,10 +305,11 @@ pub fn print_sensors(ec: &CrosEc) {
305
err => _ = print_err(err),
306
}
307
308
- // If we can't detect it based on motionsense
+ // If we can't detect it based on motionsense, check the system family
309
+ // If family is unknown, assume it has
310
let als_family = matches!(
311
smbios::get_family(),
- Some(PlatformFamily::Framework13) | Some(PlatformFamily::Framework16)
312
+ Some(PlatformFamily::Framework13) | Some(PlatformFamily::Framework16) | None
313
);
314
315
if has_als || als_family {
0 commit comments