- Adjust gfx controller to assume that the graphics driver is loaded if the
  mode is set for nvidia/hybrid
- Small code adjustments for error handling
This commit is contained in:
Luke
2021-01-10 22:04:26 +13:00
parent 54cc51fe5d
commit c9b2a0c777
11 changed files with 72 additions and 40 deletions

View File

@@ -81,7 +81,8 @@ impl CtrlCharge {
Ok(BAT_CHARGE_PATH)
} else {
Err(RogError::MissingFunction(
"Charge control not available".into(),
"Charge control not available, you may require a v5.8.10 series kernel or newer"
.into(),
))
}
}