Skip to content

Commit 0d98ca5

Browse files
authored
fix: android system stats fixes (#388)
fix: fetch component temperature properly on android, deduplicate disks list on android
1 parent 75b742f commit 0d98ca5

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

Cargo.lock

Lines changed: 18 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

uplink/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uplink"
3-
version = "2.18.3"
3+
version = "2.18.4"
44
authors = ["tekjar <[email protected]>"]
55
edition = "2021"
66

@@ -47,7 +47,6 @@ fake = { version = "2.5.0", features = ["derive"] }
4747
rand = { workspace = true }
4848
# downloader
4949
fs2 = "0.4"
50-
trait_enum = "0.5.0"
5150
replace_with = "0.1.7"
5251
futures-util = { workspace = true }
5352
hex = "0.4"
@@ -58,7 +57,7 @@ reqwest = { version = "0.11", default-features = false, features = [
5857
] }
5958
rsa = { version = "0.9.6", features = ["sha2"] }
6059
# systemstats
61-
sysinfo = { git = "https://github.com/bytebeamio/sysinfo", ref = "v0.26.9-bugfixes" }
60+
sysinfo = { git = "https://github.com/bytebeamio/sysinfo", rev = "fe6ee39f08123ffc35f740d41f35f8574fb57ffb" }
6261
# logcat
6362
lazy_static = "1.4.0"
6463
# installer

uplink/src/collector/systemstats.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,6 @@ impl StatCollector {
596596

597597
// Refresh component stats
598598
fn update_component_stats(&mut self) -> Result<(), Error> {
599-
self.sys.refresh_components_list();
600599
self.sys.refresh_components();
601600
let timestamp = clock() as u64;
602601
for comp_data in self.sys.components().iter() {

0 commit comments

Comments
 (0)