Anyway... in diving
1 You know how much air you have by the pressure in your breathing tank(s) right?
2 Are tanks refilled? If so...
3 How is a tank refilled?
4 Do you need special qualifications to refil a tank?
5 Is all pressure within the tank lost to refil?
6 How much time is an adequate warning to have if you are running low on air and you need to get up? (at average levels under the water)
7 How much time left in your tank is usually left as a safety margin if all goes well?
In deep sea diving...
8 What happens to the pressure in the tank the deeper you go?
9 Do the different gases in deep sea diving tanks create different pressures to normal diving tanks, less or more or the same?
10 Are tanks refilled? If so...
11 How is a tank refilled?
12 Do you need special qualifications to refil a tank?
13 Is all pressure within the tank lost to refil?
14 How much time is an adequate warning to have if you are running low on air and you need to get up?
15 How much time left in your tank is usually left as a safety margin if all goes well?
I modified your quote above to make it easier to respond. I am also making lots of assumptions and leaving out some nuances.
First, such devices already exist. Firefighter SCBA kits often have a bell that rings at a certain point. Air integrated dive computers offer the low pressure alarm. The old J valve. The regs that used to honk (was that a Scubapro?).
1. Correct -- there is a pressure gauge that reads the pressure in the tank. But the size of the tank also matters. For example, a 80 cubic foot tank has that much air in when filled to the working pressure of the tanks (lets say 3000 psi). Some dive computers will make an estimate of remaining air time based on actual air consumption.
2. Yes. They are not single use items. A tank is typically insepected every year and hydro tested perioidcally (every five years?)
3. Typically a high pressure fill whip is attached to the tank. The other end is attached to a bank of tanks or a high pressure compressor. The tanks is filled slowly so as to not over heat the tank.
4. Not sure. But you are dealing with something that is high pressure and tank failure, while rare, is the real deal. Also, it is very important that the air be properly filtered (keeps out oils, CO, moisture, etc.). You need to be trained on the setup that is sued to fill tanks.
5. Typically, air is just added to top of the tank pressure. I start with an empty tank (brand new). Fill to 3000 PSI. Dive and use 1800 PSI. I take it back to the shop and they fill it back to 3000 PSI. It does not get reset to zero.
6. No easy answer -- depends on depth, deco obligations, size of the tank, surface air consumption rates, etc. Many use the rule of thirds -- you use 1/3 of your air going out, 1/3 coming back and have the other 1/3 as a reserve. Others rely on surfacing with a target pressure (most often 500 or 750 psi)
7. Again time is a hard thing to explain. All other things being equal if X PSI of gas last 12 minutes at the surface it only lasts 6 minutes at 33 FSW. So time is really a function of tank size (although you don't need that info to calculate remaining air time if you plot pressure change over time with depth), pressure, surface air consumption rate and depth.
Not sure what deep sea means but I will assume you are not talking about surface supplied air. Say, tri-mix or something similar.
8. Nothing. That said, all other things being equal, you consume air faster (see #7) as the ambient pressure increases.
9. There are some high pressure steel tanks that are also used in the rec world. Not a huge difference either way.
10. Yes.
11. Similar to 3 but with gas blending. A few different techniques are used. See something like
Blank (new air system)
12. Similar to 4 but more training is typically required.
13. No.
14. See #6. Also, this can get more complicated as a diver may have deco obligations that prevent a direct ascent to the surface.
15. See #7