summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-08-19 22:16:44 -0400
committerGitHub <noreply@github.com>2021-08-19 22:16:44 -0400
commited07fbe1ccb4b4f27253b1a642d8a6a663bcbf6b (patch)
treec73687b81ab5c6549bd1063c57a60b4f84a1f685 /docs
parent2c8aea9eef696ecec7d999d9da62ed8c5cb2a09c (diff)
other: Make the battery dependency/features optional (#570)
Allows disabling of the battery dependency through a feature flag. This also aims to disable all related features.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/usage/widgets/battery.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/content/usage/widgets/battery.md b/docs/content/usage/widgets/battery.md
index c1e62a75..1859a3ba 100644
--- a/docs/content/usage/widgets/battery.md
+++ b/docs/content/usage/widgets/battery.md
@@ -1,5 +1,9 @@
# Battery Widget
+!!! Warning
+
+ The battery features are unavailable if the binary is compiled with the `battery` feature disabled!
+
The battery widget provides information about batteries on the system.
<figure>