{"id":4077,"url":"https://github.com/svartalf/rust-battery","last_synced_at":"2026-06-09T18:20:41.336Z","repository":{"id":43496242,"uuid":"169845876","full_name":"svartalf/rust-battery","owner":"svartalf","description":"Rust crate providing cross-platform information about the notebook batteries.","archived":false,"fork":false,"pushed_at":"2023-08-01T02:43:42.000Z","size":254,"stargazers_count":372,"open_issues_count":26,"forks_count":43,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-11T08:08:05.908Z","etag":null,"topics":["battery","battery-information","dragonflybsd","freebsd","linux","macos","rust","rust-crate","windows"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/battery","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svartalf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"open_collective":"rust-battery","liberapay":"svartalf","patreon":"svartalf","custom":["https://svartalf.info/donate/","https://www.buymeacoffee.com/svartalf"]}},"created_at":"2019-02-09T08:16:03.000Z","updated_at":"2025-08-29T19:42:33.000Z","dependencies_parsed_at":"2022-07-15T06:47:17.324Z","dependency_job_id":null,"html_url":"https://github.com/svartalf/rust-battery","commit_stats":{"total_commits":86,"total_committers":10,"mean_commits":8.6,"dds":"0.19767441860465118","last_synced_commit":"20233871e16b0e7083281df560875110a0cac93b"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/svartalf/rust-battery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-battery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-battery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-battery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-battery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svartalf","download_url":"https://codeload.github.com/svartalf/rust-battery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-battery/sbom","scorecard":{"id":860895,"data":{"date":"2025-08-11","repo":{"name":"github.com/svartalf/rust-battery","commit":"20233871e16b0e7083281df560875110a0cac93b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 3/21 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:99: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/svartalf/rust-battery/ci.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  12 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T01:13:44.202Z","repository_id":43496242,"created_at":"2025-08-24T01:13:44.202Z","updated_at":"2025-08-24T01:13:44.202Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278900824,"owners_count":26065503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["battery","battery-information","dragonflybsd","freebsd","linux","macos","rust","rust-crate","windows"],"created_at":"2024-01-11T16:49:09.854Z","updated_at":"2025-10-08T06:24:54.130Z","avatar_url":"https://github.com/svartalf.png","language":"Rust","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/4077","html_url":"https://opencollective.ecosyste.ms/projects/4077","collective":{"id":2695,"uuid":"ggnxdwzj-3le5mpwz-ma0py8rv-bko04a97","slug":"rust-battery","name":"rust-battery","description":"Rust crate providing cross-platform information about batteries.","website":"https://crates.io/crates/battery","github":"svartalf/rust-battery","twitter":null,"repository_url":null,"social_links":[{"type":"WEBSITE","url":"https://crates.io/crates/battery"},{"type":"GITHUB","url":"https://github.com/svartalf/rust-battery"}],"currency":"USD","projects_count":1,"last_synced_at":"2026-06-11T18:15:11.337Z","created_at":"2024-01-10T13:17:52.721Z","updated_at":"2026-06-11T18:15:11.459Z","transactions_count":36,"balance":0.0,"account_type":"COLLECTIVE","owner":{"login":"svartalf","name":"svartalf","uuid":"1279564","kind":"user","description":"","email":"","website":"http://svartalf.info","location":"Netherlands","twitter":"svartalf","company":"Dexter Energy","icon_url":"https://avatars.githubusercontent.com/u/1279564?v=4","repositories_count":40,"last_synced_at":"2024-04-16T01:11:07.164Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/svartalf","funding_links":[],"total_stars":1184,"followers":191,"following":5,"created_at":"2022-11-02T16:29:38.117Z","updated_at":"2024-04-16T01:11:20.176Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svartalf","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svartalf/repositories"},"last_project_activity_at":"2023-08-01T02:43:42.000Z","archived":false,"no_funding":false,"no_license":false,"host":"opensource","collective_created_at":"2019-03-14T07:45:22.326Z","collective_updated_at":"2025-11-06T23:32:19.893Z","html_url":"https://opencollective.com/rust-battery","icon_url":"https://images.opencollective.com/rust-battery/logo/40.png","total_donations":120.0,"total_expenses":-123.0,"current_balance":0.0,"api_url":"https://opencollective.ecosyste.ms/api/v1/collectives/rust-battery","url":"https://opencollective.ecosyste.ms/collectives/rust-battery","projects_url":"https://opencollective.ecosyste.ms/api/v1/collectives/rust-battery/projects"}}