diff --git a/Cargo.lock b/Cargo.lock index 7d827e2..93b841f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -239,7 +239,7 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "charge-controller-supervisor" -version = "1.9.9-pre-11" +version = "1.9.9-pre-12" dependencies = [ "chrono", "clap", @@ -2203,7 +2203,7 @@ dependencies = [ [[package]] name = "tesla-charge-controller" -version = "1.9.9-pre-11" +version = "1.9.9-pre-12" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index 46d7a8c..fc92030 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ default-members = ["charge-controller-supervisor"] resolver = "2" [workspace.package] -version = "1.9.9-pre-11" +version = "1.9.9-pre-12" [workspace.lints.clippy] pedantic = "warn" diff --git a/charge-controller-supervisor/src/pl.rs b/charge-controller-supervisor/src/pl.rs index e36689c..5d744af 100644 --- a/charge-controller-supervisor/src/pl.rs +++ b/charge-controller-supervisor/src/pl.rs @@ -189,7 +189,7 @@ impl Pli { duty_cycle: f64::from(self.read_ram(PlRamAddress::Dutycyc).await?) / 255., internal_charge_current: f64::from(self.read_ram(PlRamAddress::Cint).await?) * (4. / 10.), - internal_load_current: f64::from(self.read_ram(PlRamAddress::Lint).await?) * (4. / 10.), + internal_load_current: f64::from(self.read_ram(PlRamAddress::Lint).await?) * (2. / 10.), battery_temp: f64::from(self.read_ram(PlRamAddress::Battemp).await?), regulator_state: self.read_ram(PlRamAddress::Rstate).await?.into(), })