doc/battery: not an independently usable class

There are only the instances on hubs that support it, and they are already documented there, so delete generic copy.
This commit is contained in:
Laurens Valk
2020-01-14 17:02:30 +01:00
parent 782ca5d424
commit 94f514cd20
3 changed files with 2 additions and 13 deletions
-8
View File
@@ -1,8 +0,0 @@
Batteries
=========
The Battery Class
^^^^^^^^^^^^^^^^^
.. autoclass:: pybricks.builtins.Battery
-1
View File
@@ -39,4 +39,3 @@ Intro
frames
motors
sound
battery
+2 -4
View File
@@ -185,8 +185,7 @@ voltage: mV
--------------
Voltages are expressed in millivolt (mV).
For example, you can check the voltage of the :meth:`battery
<.builtins.Battery.voltage>`.
For example, you can check the voltage of the battery.
.. _current:
@@ -195,5 +194,4 @@ current: mA
Electrical currents are expressed in milliampere (mA).
For example, you can check the current supplied by the :meth:`battery
<.builtins.Battery.current>`.
For example, you can check the current supplied by the battery.