Skip to content

Instantly share code, notes, and snippets.

*** emerhyst-20b.Q6_K.gguf ***

You are a helpful assistant.

Instruction:

Why is the sky blue

Response:

Coz water.

Most batteries have about 2000 HP. Generally when we talk about lifespan, its the point at which the battery has lost more than half its initial capacity. This would be 0 HP. It is still usable after this point with reduced capacity, but that will continue to degrade increasingly rapidly.

  • Each time you cycle it - that is discharge it all the way down to 0% then back up to 100% - that does 3 HP of damage.
  • Each time you partially cycle it - which would be from eg 80% down to 20% and back up to 80% - that does 1 HP of damage.

Also, the battery itself will age naturally, but how fast depends on how charged it is (on average)

Charge Damage
100% 3 per day
[env:disco_f407vg]
platform = ststm32
board = disco_f407vg
board_build.mcu = stm32f407vet6
framework = libopencm3
upload_protocol = stlink
#include <Arduino.h>
void setup() {
pinMode(PA6, OUTPUT);
pinMode(PA7, OUTPUT);
}
void loop() {
digitalWrite(PA6, HIGH);
digitalWrite(PA7, LOW);
[env:black_f407ve]
platform = ststm32
board = black_f407ve
framework = arduino
upload_protocol = stlink